patterns defined this way probably will not be as efficient, as the optimizer is not very clever about handling them.Also, all DEFINE'd patterns are capturing, even if you don't need it, so that is another minor hit against performance. This can also be confusing if you are trying to refer to capture groups by absolute number instead of by name.
In reply to Re^6: Reusing a complex regexp in multiple spots, escaping the regexp
by sleet
in thread Reusing a complex regexp in multiple spots, escaping the regexp
by ecm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |