More /o switches for regex matches.

does_match was compiling the regex every time it was called. This speeds
things up pretty considerably (my test run called 800k+ times and spent
700ms per compilation, which now only gets called once).