in reply to Re: Perl regexp matching is slow??
in thread Perl regexp matching is slow??
I've been thinking of the "atomic subpatterns" and possessive quantifiers as pruning operations. The entire search space may be exponential but entire branches can be eliminated if you just code your pruning operations into your expressions.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl regexp matching is slow??
by demerphq (Chancellor) on Jan 30, 2007 at 16:51 UTC |