Remove whitespace from RegExp constructor definition