Fix IndexOutOfRange for invalid grouping construct (dotnet/corefx#26829)
authorDan Moseley <danmose@microsoft.com>
Sun, 4 Feb 2018 18:15:06 +0000 (10:15 -0800)
committerGitHub <noreply@github.com>
Sun, 4 Feb 2018 18:15:06 +0000 (10:15 -0800)
commit7e7507badaa97f17301c92b546f02fe3df5a6e02
tree757b78e302b88fb20189aac7df95a898a1820cdf
parent5823075a600991fe0535800cc218bb5f20a212cc
Fix IndexOutOfRange for invalid grouping construct (dotnet/corefx#26829)

* Fix method name

* Fix IndexOutOfRange for invalid grouping construct

* Skip test on NETFX

Commit migrated from https://github.com/dotnet/corefx/commit/3cd61ad064e7d14e8c3452ef2dba288cac5ab0e0
src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexParser.cs
src/libraries/System.Text.RegularExpressions/tests/Regex.Ctor.Tests.cs