|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Matching nested begin/endsby Abigail-II (Bishop) |
| on Jul 31, 2002 at 11:25 UTC ( [id://186467]=CUFP: print w/replies, xml ) | Need Help?? |
|
You are all familiar how to match nested balanced parenthesis.
But that expressions is easily extendable to larger start
and finish markers. Here's how you would match a nested
begin/end block.
Back to
Cool Uses for Perl
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||