Initialize regex engines lazily. See #441.