in reply to Re: Best Practice: Order of regex modifiers?
in thread Best Practice: Order of regex modifiers?
Thanks, I ignored the "natural order" of perldocs ;-)
> Update: Also, I often place those modifiers that change the behavior of the regex, like /gc, first, so they're immediately obvious.
Well all modifiers change the behaviour of a regex, don't you think?
(I think that's why they are called modifiers ;-)
This leads to my suggestion to order (or at least group) by importance...
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Best Practice: Order of regex modifiers?
by haukex (Archbishop) on Feb 01, 2017 at 15:46 UTC | |
by LanX (Saint) on Feb 02, 2017 at 17:27 UTC |