2010-07-20 Miguel de Icaza <miguel@novell.com>
authorMiguel de Icaza <miguel@gnome.org>
Tue, 20 Jul 2010 17:31:31 +0000 (17:31 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 20 Jul 2010 17:31:31 +0000 (17:31 -0000)
commit183e538e522c4c68e1e603a315ba0d431eb7ee68
treea1588b062e64c7614fb74eaafb1f6c762292984f
parente1a5014726977031d3ab3f69eca77cdf46f8bd86
2010-07-20  Miguel de Icaza  <miguel@novell.com>

* parser.cs (ParseEscape): Now parses with some context, whether
we are parsing inside a character range which can not contain
back-references or when we are parsing on a string context which
can contain back references.

This fixes bug #577346 which exposed a bug parsing this:

new Regex("[\\177-\\377]")

svn path=/trunk/mcs/; revision=160626
mcs/class/System/System.Text.RegularExpressions/ChangeLog
mcs/class/System/System.Text.RegularExpressions/parser.cs
mcs/class/System/Test/System.Text.RegularExpressions/RegexBugs.cs