The way I remember what /s and /m do is like this. I know that they change the behaviour of regex metacharacters, but /s changes the behaviour of a single metacharacter (.) and /m changes the behaviour of multiple metacharacters (^ and $).
Don't know whether that will help anyone else.
--"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: S And M -- modifiers, that is...
by davorg
in thread S And M -- modifiers, that is...
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |