Next
Regular Expression Mastery
34
Character Classes
[ab]
vs
a|b
/[ab]/
No backtracking
Much more efficient (5x or so)
Use when appropriate
Next
Copyright © 2002 M. J. Dominus