Attempted Fix for Regexes

In reference to #88, it seems that regexes are just indeed broken on this plugin.

I did a git bisect and found the commit that seems to be the culprit is ed58aec

That regex is a bit over my head, but I did mangle it into at least detecting regexes again, however I am not sure if this is the appropriate fix.