man re_syntax
* a sequence of 0 or more matches of the atom
+ a sequence of 1 or more matches of the atom
? a sequence of 0 or 1 matches of the atom
^ matches at the beginning of a line
$ matches at the end of a line