Compatibility updates

* Better support for non-ending strict mode matches with a trailing slash
* Proper support for passing in arrays

On a side note, I added `|` to the escape keys - this may break backward compatibility if someone is awkwardly relying on it in their string or in a matching group. I might take a stab at only replacing these characters outside of matching groups and pushing custom matching groups into the keys array.