Note: Abigail's will be faster, but sorry, I just couldn't resist the joke. ;)$re = qr /begin (?: (?>[^be]*) |(??{ $re }) | [be] )* end/x;
In reply to Re: Matching nested begin/ends
by jryan
in thread Matching nested begin/ends
by Abigail-II
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |