On 9/1/22 20:16, Andinus via perl6-users wrote:

ToddAndMargo via perl6-users @ 2022-09-01 10:30 -07:

On 9/1/22 00:45, Richard Hainsworth wrote:
Treat the regexes as data for a program. Compile the program once.
Run the regexes as often as you need.

Please elucidate.  That could save me boat loads
of time.

You could take the regex string from an environment variable or read
from a file. The program is compiled only once and you can test regexes
without re-compilation.

Thanks Richard, this is going to save me a lot of time.


There are probably over 600 regex's in the
program in question.  Am I missing something?

Reply via email to