in reply to /s and /m don't seem to be doing anything

... . I am not clear at all about the purpose of /m and /s (or the original purpose of $*, for that matter). If anyone can clear this up, I would be grateful. sciguy

see perlre and perlrequick and perlrebackslash and see wxPPIxregexplain.pl/ ppixregexplain.pl

it says stuff like

. # any character (including \n) alias [\w\W] alias [\s\ +S] alias [\d\D] alias \p{All} # (/m) with ^ and $ matching start and end of line # (/s) with . matching \n # any character (including \n) alias [\w\W] alias [\s\S] +alias [\d\D] alias \p{All} # address=/15/C1/C0 # xRe::Token::Assertion # simple zero-width assertion (zero-length, between pos() +itions) # match the beginning of the string "^", # address=/15/C1/C2 # xRe::Token::Assertion # simple zero-width assertion (zero-length, between pos() +itions) # match before an optional \n, and the end of the string "\$", # xRe::Token::Assertion # simple zero-width assertion (zero-length, between pos() +itions) # (?m) with ^ and $ matching start and end of line # match the beginning of a "line" "^", # address=/16/C1/C2 # xRe::Token::Assertion # simple zero-width assertion (zero-length, between pos() +itions) # (?m) with ^ and $ matching start and end of line # match before an optional \n, and the end of a "line" "\$",