Next Regular Expression Mastery 10

Regex Program Example

/ab/

             START            |a h a b
              a               |a h a b            Yes!
              b               <a|h a b            Nope
             START             a|h a b
              a                a|h a b            Nope
             START             a h|a b
              a                a h|a b            Yes!
              b                a h<a|b            Yes!
              END              a h<a b>           Yes!



Next Copyright © 2002 M. J. Dominus