in reply to Matching nested begin/ends
Note: Abigail's will be faster, but sorry, I just couldn't resist the joke. ;)$re = qr /begin (?: (?>[^be]*) |(??{ $re }) | [be] )* end/x;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Matching nested begin/ends
by Abigail-II (Bishop) on Aug 01, 2002 at 09:19 UTC | |
by jryan (Vicar) on Aug 01, 2002 at 23:16 UTC | |
by Abigail-II (Bishop) on Aug 02, 2002 at 09:30 UTC | |
by jryan (Vicar) on Aug 02, 2002 at 23:04 UTC | |
by Abigail-II (Bishop) on Aug 05, 2002 at 10:08 UTC |