The /m isn't required. /m enables the multi-line mode which allows ^ and $ to match embedded newline characters.
Update: Argh! I missed seeing the $ in stevieb's reply. I apologise to periodicalcoder for causing confusion and to stevieb for being silly!
In reply to Re^2: Matching range of text with another string in between
by GrandFather
in thread Matching range of text with another string in between
by periodicalcoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |