Fri, 21 Feb 2014 17:58:33 +0530
8033745: Reflect upon Nashorn reflection
Reviewed-by: ahgross, attila, jlaskey
1 Match = foo@acme.com,foo,acme,com
2 RegExp.lastMatch = foo@acme.com
3 RegExp.$1 = foo
4 RegExp.$2 = acme
5 RegExp.$3 = com
6 RegExp.lastParen = com
7 RegExp.input = Please send mail to foo@acme.com and bar@gov.in ASAP!
8 Match = bar@gov.in,bar,gov,in
9 RegExp.lastMatch = bar@gov.in
10 RegExp.$1 = bar
11 RegExp.$2 = gov
12 RegExp.$3 = in
13 RegExp.lastParen = in
14 RegExp.input = Please send mail to foo@acme.com and bar@gov.in ASAP!