Rather than reimplementing something to try and (most likely, poorly and/or incompletely) parse Perl let it do it for you with B::Xref.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re^3: Multiline regex
by Fletch
in thread Multiline regex
by harangzsolt33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |