Fixing regex detection

In IE 11, `new RegExp('foo').constructor.name` is `undefined` so the plugin always confuses the regex with the options and never highlights anything.

This changes makes it also check `instanceof` which lets IE detect it correctly.
Merge pull request #15 from nfriedly/patch-1

Fixing regex detection