Erlang Central

Category:Regular Expressions

Revision as of 01:42, 4 September 2006 by Bfulgham (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

Lisps and members of the Prolog family (like Erlang) in general are sort of famous for looking down on Regular Expressions. Other languages that lack Erlang's powerful pattern matching tend to fall back on regular expressions to provide some of that capability; one could argue that Regular Expressions have been badly overused. For example, any sort of pattern matching that involves stack-like matching (matching parentheses, quoted strings, etc.) is usually very difficult using regular expressions.

Some people, when confronted with a problem, think "I know, I’ll use regular expressions." Now they have two problems.
-- Jamie Zawinski

Still, Regular Expressions are unbeatable for a lot of text processing tasks. Erlang provides built in regular expressions using the Unix egrep syntax.

Pages in category ‘Regular Expressions’

The following 5 pages are in this category, out of 5 total.