in reply to Re^2: Strange behaviour of the regex engine ( Benchmarks aren't everything )
in thread Strange behaviour of the regex engine

I'm reading 3rd version of this book. I think this issue has not been mentioned in the book. Anyway I use two simple techniques (alternation order and plus to prevent backtracking when parentheses are leaved for star) to optimize first regex.

I read mentioned topic "Benchmarks aren't everything" but I think that it is not the source of problem in this case.

  • Comment on Re^3: Strange behaviour of the regex engine ( Benchmarks aren't everything )