Fix for DFL-2602,  RegExp('foo')'s methods are not prettyprinted in console.
Fix for DFL-2602,  RegExp('foo')'s methods are not prettyprinted in console.

operasoftware/dragonfly,operasoftware/dragonfly,operasoftware/dragonfly,operasoftware/dragonfly