Don't require igmy after / in regexes

Previously regexes would not match without one of the
igmy characters after the closing /.

This bring backs the regex used prior to #12 as the begin pattern.