2009/8/2 Josh ben Jore <twists@gmail.com>: > "Dr.Ruud" <rvtol+usenet@isolution.nl> writes: > >> Craig A. Berry wrote: >> >>> a regex inside of a regex is still unsupported >> >> IIRC, code similar to the following is somewhere in the documentation. >> (but maybe including the e-modifier doesn't apply to the above?) >> >> perl -wle' >> my $s = "abc 123232323 def"; >> $s =~ s/([0-9]+)/ (my $t = $1) =~ s!.!*!g; $t /e; >> print $s; >> ' >> abc ********* def > > No. That's ok. What's dodgy is: > > m{ > (?{ m<...> }) > } > > This shows up when calling functions within (?{}) and (??{}). Hmm, i remember it being dodgy too. Are you sure its not? Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next