Greetings, On Friday, January 25, 2002, at 10:56  AM, 
[EMAIL PROTECTED] wrote:

> /[fF][oO][oO]/ better than /foo/i
>
> That'd be Mr. RE Jeffrey Freidl in the Mastering RE/Owl book. 
> The parser
> has to do less backtracking or something.


I have to disagree; while I have read the RE/Owl (I hear there is 
another in the works?) I feel that

/[fF][oO][oO]/ lacks clarity over /foo/i


You are correct, its butt-ugly but pg 280 goes over the details.  For the 
word while (ugly vs. /i) /i is 50 times slower.  While he gets it down to 
a mere 77% slower and cautions not to get hung up about it, it is worth 
thinking about if you need the speed, esp. w/ a big RE.

a

Reply via email to