in reply to Re^2: Best Practice: Order of regex modifiers?
in thread Best Practice: Order of regex modifiers?
Hi Rolf,
Well all modifiers change the behaviour of a regex, don't you think?
Well yes, but: some change how the pattern of the regex is treated, like /xmsialud, whereas some change how the regex operator, like m//, behaves. For example, the return values of m// are quite different from those of m//g, and /g doesn't affect how the pattern is treated.
Regards,
-- Hauke D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Best Practice: Order of regex modifiers?
by LanX (Saint) on Feb 02, 2017 at 17:27 UTC |