You're trying to parse perl as a way to implement a templating engine. There are many mature, well tested and working template engines on CPAN, use one and be done :)
In reply to Re: RegExp, the magic not begin
by Anonymous Monk
in thread RegExp, the magic not begin
by perlmonkdr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |