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

Re: regexp iteration limits

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
February 10, 2009 06:42
Subject:
Re: regexp iteration limits
Message ID:
20090210144142.GA1793@klangraum.plasmasturm.org
* Zefram <zefram@fysh.org> [2009-02-10 01:20]:
> Secondarily, perl ought to pay attention to (?>...), to avoid
> generating backtracking records that it can never use.
>
> Anyone want to tell me this is impossible?

(?>(?:x.|.x)+)

-- 
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1}
&Just->another->Perl->hack;
#Aristotle Pagaltzis // <http://plasmasturm.org/>

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