Go to the first, previous, next, last section, table of contents.


Alternative Subexpressions

An alternative is written:

regexp-1\|regexp-2\|regexp-3\|...

It matches anything matched by some regexp-n. For example:

Crosby, Stills, \(and Nash\|Nash, and Young\)

matches

Crosby, Stills, and Nash

and

Crosby, Stills, Nash, and Young


Go to the first, previous, next, last section, table of contents.