Note: You were using capturing parens ((...)) when you only needed non-capturing parens ((?:...)). Removing the need to capture greatly improves the speed of regexs.Thanks for this. Thing is, I have an entire module full of this mistake. Unless there is a pragma to fix this, then I have to go fix them all manually.
In reply to Re^2: regexp - repeatedly delete words expressed in alternation from end of string
by princepawn
in thread repeatedly delete words expressed in alternation from end of string [regexp]
by princepawn
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |