in reply to Re^5: Reusing a complex regexp in multiple spots, escaping the regexp
in thread Reusing a complex regexp in multiple spots, escaping the regexp
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Reusing a complex regexp in multiple spots, escaping the regexp
by LanX (Saint) on Apr 16, 2026 at 12:27 UTC | |
by tobyink (Canon) on Apr 16, 2026 at 13:00 UTC | |
by LanX (Saint) on Apr 16, 2026 at 14:39 UTC | |
by tobyink (Canon) on Apr 16, 2026 at 15:05 UTC | |
by LanX (Saint) on Apr 16, 2026 at 17:01 UTC | |
|