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

Re: regexp iteration limits

Thread Previous | Thread Next
From:
Zefram
Date:
February 10, 2009 06:53
Subject:
Re: regexp iteration limits
Message ID:
20090210145331.GB16377@fysh.org
Aristotle Pagaltzis wrote:
>(?>(?:x.|.x)+)

In this case, to tell Perl that no backtracking is required, if that is
the case, then the inner (?:) also needs to become (?>).  Is that the
point you were trying to make?

-zefram

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