Another option is to set $/ to the empty string which enables paragraph mode, a full paragraph up to the next empty line is read.
In reply to Re: regex : get a paragraph, not just line
by hdb
in thread regex : get a paragraph, not just line
by crusty_collins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |