I'd like to change a RegExp constructor, to use case insensitive, but I can't modify the source.
The source calls:
MyExp = new RegExp("xxx","") //Native
Can I create a function that could override that, e.g.
function RegExp(a,b){
return native.RegExp(a,"i")
}