Pattern Matching

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.

New Models for Processing Text and XML with Python Sam Wilmott
Slide 13 of 51        www.wilmott.ca