"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 (??{}).
Josh
Thread Previous
|
Thread Next