154
164
^ - only special at the beginning, or after ( or |
155
165
$ - only special at the end, or before ) or |
156
166
*, +, ? - only special when not after the beginning, (, or | */
159
171
/* 1 means that \ in a character class escapes the next character (typically
160
172
a hyphen. It also is overloaded to mean that hyphen at the end of the range