pass regExpOptions

It would be interesting to be able to change the default RegExp `gim` option