8007619: Add support for deprecated properties of RegExp constructor
Reviewed-by: lagergren, hannesw
Match = foo@acme.com,foo,acme,com
RegExp.lastMatch = foo@acme.com
RegExp.$1 = foo
RegExp.$2 = acme
RegExp.$3 = com
RegExp.lastParen = com
RegExp.input = Please send mail to foo@acme.com and bar@gov.in ASAP!
Match = bar@gov.in,bar,gov,in
RegExp.lastMatch = bar@gov.in
RegExp.$1 = bar
RegExp.$2 = gov
RegExp.$3 = in
RegExp.lastParen = in
RegExp.input = Please send mail to foo@acme.com and bar@gov.in ASAP!