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

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

Thread Previous | Thread Next
From:
Dr.Ruud
Date:
July 27, 2009 03:38
Subject:
Re: [PATCH] Re: [perl #66110] Perl debugger runs out of memory, hangsor segfaults on XML::Parser::Lite
Message ID:
20090726220646.5443.qmail@lists.develooper.com
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

-- 
Ruud

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