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
In reply to Re^3: Best Practice: Order of regex modifiers?
by haukex
in thread Best Practice: Order of regex modifiers?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |