|
Addings/modifications to help files
|
|
Jul. 20, 2009, 03:44 PM
(This post was last modified: Jul. 21, 2009 01:40 AM by whenever.)
Post: #20
|
|||
|
|||
RE: Addings/modifications to help files
(Jul. 20, 2009 08:18 AM)sidki3003 Wrote: Significantly faster. Which is the point of entire chapter 10. Test it. A test proved I was wrong. ![]() "*>" is much faster than "[^>]+>", even "?++>" is faster than "[^>]+>". This is totally different from what I know about common regex flavors' behaving on Greedy vs. Lazy. It seems "*" in prox is not simply the ".*?" in common regex flavors and Scott had made special optimization for it. "Look around" in common regex flavors doesn't consume characters, I think you are not meaning that when you say "look ahead" in your docs, so my suggestion is as below: Quote:10a "+" -- Suppressing expression match attempts |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help







![[-]](images/ONi/collapse.gif)