On 02-Nov-2007, at 16:30, Aaron J. Grier barely brushed the surface of the potential pool of hate that awaits one who wants to grok regular expressions in all fullness...
GNU: \> , \<

Early extension, originated in "vi". Breaks traditional regexps.

BSD: [[:>:]] , [[:<:]]

POSIX-style, but not POSIX. provides better compatibility with traditional regexps by overloading character classes.

Perl regexps are a third style.

GNU has about 30 options to turn on and off different sets of extensions.

There's a couple of different Java regexps, one of which is an improper subset of GNU regexp.

Most of these have basic and enhanced versions.

AmigaDOS file matching is actually a regular expression language with a unique syntax.

SNOBOL and derivatives.

There are LISP and Scheme regular expression languages, which are of course s-expressions.

Icon, which isn't a SNOBOL derivative but created by the same bloke, makes the operations involved in regular expression evaluation part of the language.

Prolog of course takes pattern matching to a whole new level.


Reply via email to