your original post said something about regular expressions.
True. It support them
RULES foo
a(b+)c==>c$1a!!length($1)>5
ENDRULES
so, abbbbbbbc gets cbbbbbbba if the number of b greater than 5.
Regexp::Rules is the name I'm pointing to, at the moment.
THanks for helping me with the brainstorming.
Alberto
--
Alberto Sim�es - Departamento de Inform�tica - Universidade do Minho
,,__
.. .. / o._) .---.
/--'/--\ \-'|| .----. .' '.
/ \_/ / | .' '..' '-.
.'\ \__\ __.'.' .' �-._
)\ | )\ | _.'
// \\ // \\
||_ \\|_ \\_ Perl Monger
mrf '--' '--'' '--' www.perl-hackers.net