Pattern Matching Styles

There are two major families of pattern matching sublanguages:

  • The "grep" or "regex" style used by Perl, by emacs, and by the Python Library's "re" module.

  • Pattern "expression" as used in the SNOBOL4, Icon and OmniMark programming languages.

All About Pattern Matching Sam Wilmott
Slide 17 of 37        www.wilmott.ca