in reply to remove me, thank you.
in thread Regex Tuning /(?:(?:foo[34])|(?:bar[12]))\.txt/io
Recent perl versions include the qr// operator that allows to precompile regexp. It is what you should use when you have speed problems with dynamically generated regexps.
|
|---|