If the part you left out can contain matching pairs of braces:
then I encourage you to try Parse::RecDescent. If the part you left out can also contain braces that are quoted or escaped in some way:foo { bar { }; };
then I strongly encourage you to try Parse::RecDescent. - tye (but my friends call me "Tye")foo { bar "No closing } found!" };
In reply to (tye)Re: Multiline pattern matching
by tye
in thread Multiline pattern matching
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |