develooper Front page | perl.perl5.porters | Postings from August 2009

Re: [PATCH] Re: [perl #66110] Perl debugger runs out of memory, hangs or segfaults on XML::Parser::Lite

Thread Previous | Thread Next
From:
Josh ben Jore
Date:
August 1, 2009 15:49
Subject:
Re: [PATCH] Re: [perl #66110] Perl debugger runs out of memory, hangs or segfaults on XML::Parser::Lite
Message ID:
87y6q3f8uy.fsf@lik.hsd1.wa.comcast.net
"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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About