Use RegExpProxy instead of plain RegExp objects

This is needed to avoid recompilation for RegExps literals while letting each
instance maintain its own state