regexp backreferences: Implement fallback to octal numbers, and ECMAScript semantics.
authorRaja R Harinath <harinath@hurrynot.org>
Mon, 10 Aug 2009 16:25:10 +0000 (16:25 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Mon, 10 Aug 2009 16:25:10 +0000 (16:25 -0000)
commit1163a482f7430930bee670cf4c6721ecf9880974
treea7cb46987500bade937b88e311a46b75a7b6c05a
parent54481772e913d5b487e48f3a0301786fc00f7c78
regexp backreferences: Implement fallback to octal numbers, and ECMAScript semantics.

* syntax.cs (BackslashNumber.ResolveReference): Implement fallback
to octal numbers, and ECMAScript semantics.
* parser.cs (ResolveReferences): Use it.
* RegexMatchTests.cs (RegexTrial0054..60): New.

svn path=/trunk/mcs/; revision=139657
mcs/class/System/System.Text.RegularExpressions/ChangeLog
mcs/class/System/System.Text.RegularExpressions/parser.cs
mcs/class/System/System.Text.RegularExpressions/syntax.cs
mcs/class/System/Test/System.Text.RegularExpressions/ChangeLog
mcs/class/System/Test/System.Text.RegularExpressions/RegexMatchTests.cs