I'm astonished you don't know (?s). It's the same as .../s just inside the regex. It makes the . match lineends too in telling the regex to treat the text as a (?s)-ingle line instead of (?m)-ultiple lines.
search for "imsx-imsx" in perldoc perlre
In reply to Re^6: Regex Problem - alternative searched
by Skeeve
in thread Regex Problem - alternative searched
by Skeeve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |