O'Reilly logo
  • Daniel Gordon thinks this is interesting:

Eliminate Needless Backtracking

From

Cover of Regular Expressions Cookbook, 2nd Edition

Note

Learn about Possessive (*+, ?+, ++) quantifiers and atomic groups here.