3 regexp \- regular expression notation
6 .I "regular expression"
8 a set of strings of characters.
9 A member of this set of strings is said to be
11 by the regular expression. In many applications
12 a delimiter character, commonly
14 bounds a regular expression.
15 In the following specification for regular expressions
16 the word `character' means any character (rune) but newline.
18 The syntax for a regular expression
23 e3: literal | charclass | '.' | '^' | '$' | '(' e0 ')'
39 is any non-metacharacter, or a metacharacter
54 it matches any character in (or not in)
56 A negated character class never
65 order, stands for the inclusive
78 and the regular expression delimiter
82 have no special meaning and
87 matches any character.
91 matches the beginning of a line;
93 matches the end of the line.
97 operators match zero or more
103 instances respectively of the preceding regular expression
106 A concatenated regular expression,
110 followed by a match to
113 An alternative regular expression,
115 matches either a match to
120 A match to any part of a regular expression
121 extends as far as possible without preventing
122 a match to the remainder of the regular expression.