diff --git a/xml/System.Text.RegularExpressions/RegexParseError.xml b/xml/System.Text.RegularExpressions/RegexParseError.xml
index 4801ee53707..8a19355fdfc 100644
--- a/xml/System.Text.RegularExpressions/RegexParseError.xml
+++ b/xml/System.Text.RegularExpressions/RegexParseError.xml
@@ -13,8 +13,16 @@
System.Enum
- To be added.
- To be added.
+ Specifies the detailed underlying reason why a is thrown when a regular expression contains a parsing error.
+
+ .
+
+ ]]>
+
@@ -34,7 +42,7 @@
17
- To be added.
+ An alternation construct in a regular expression contains a comment.
@@ -54,7 +62,7 @@
2
- To be added.
+ An alternation in a regular expression has a malformed condition.
@@ -74,7 +82,7 @@
18
- To be added.
+ An alternation construct in a regular expression contains a malformed reference.
@@ -94,7 +102,7 @@
16
- To be added.
+ An alternation construct in a regular expression uses a named capture.
@@ -114,7 +122,7 @@
1
- To be added.
+ An alternation in a regular expression has too many conditions.
@@ -134,7 +142,7 @@
19
- To be added.
+ An alternation construct in a regular expression contains an undefined reference.
@@ -154,7 +162,7 @@
20
- To be added.
+ The group name of a captured group in a regular expression is invalid.
@@ -174,7 +182,7 @@
21
- To be added.
+ A regular expression defines a numbered subexpression named zero.
@@ -194,7 +202,7 @@
23
- To be added.
+ A character class in a regular expression with an exclusion group is not the last part of the character class.
@@ -214,7 +222,7 @@
26
- To be added.
+ A regular expression has a non-escaped left parenthesis, or misses a closing right parenthesis.
@@ -234,7 +242,7 @@
30
- To be added.
+ A regular expression has a non-escaped right parenthesis, or misses an opening left parenthesis.
@@ -254,7 +262,7 @@
8
- To be added.
+ A hexadecimal escape sequence in a regular expression does not have enough digits, or contains invalid digits.
@@ -274,7 +282,7 @@
15
- To be added.
+ A grouping construct in a regular expression is invalid or malformed.
@@ -294,7 +302,7 @@
3
- To be added.
+ A Unicode property escape in a regular expression is invalid or unknown.
@@ -314,7 +322,7 @@
12
- To be added.
+ A named reference in a regular expression is malformed.
@@ -334,7 +342,7 @@
4
- To be added.
+ A Unicode property escape is malformed.
@@ -354,7 +362,7 @@
7
- To be added.
+ A control character in a regular expression is missing.
@@ -374,7 +382,7 @@
28
- To be added.
+ Repeated quantifiers on another quantifier inside a regular expression are not grouped in parentheses.
@@ -394,7 +402,7 @@
29
- To be added.
+ A quantifier in a regular expression is in a position where it cannot quantify anything, like at the beginning of a regular expression or in a group.
@@ -414,7 +422,7 @@
9
- To be added.
+ A captured group or a quantifier in a regular expression is not within range, that is, it is larger than .
@@ -434,7 +442,7 @@
24
- To be added.
+ A character class in a regular expression contains an inverse character range, like z-a instead of a-z.
@@ -454,7 +462,7 @@
27
- To be added.
+ A quantifier range in a regular expression is inverse, like {10,1}
instead of (1,10}
.
@@ -474,7 +482,7 @@
25
- To be added.
+ A character-class in a regular expression contains a short-hand class that is not allowed inside a character class.
@@ -494,7 +502,7 @@
10
- To be added.
+ A used named reference in a regular expression is not defined.
@@ -514,7 +522,7 @@
11
- To be added.
+ A used numbered reference in a regular expression is not defined.
@@ -534,7 +542,7 @@
13
- To be added.
+ A regular expression ends with a non-escaped ending backslash.
@@ -554,7 +562,7 @@
0
- To be added.
+ An unknown regular expression parse error.
@@ -574,7 +582,7 @@
6
- To be added.
+ A control character in a regular expression is not recognized.
@@ -594,7 +602,7 @@
5
- To be added.
+ An escape character or sequence in a regular expression is invalid.
@@ -614,7 +622,7 @@
31
- To be added.
+ A unicode property in a regular expression is not recognized, or invalid.
@@ -634,7 +642,7 @@
22
- To be added.
+ A regular expression has a non-escaped left square bracket, or misses a closing right square bracket.
@@ -654,7 +662,7 @@
14
- To be added.
+ A comment in a regular expression is not terminated.
diff --git a/xml/System.Text.RegularExpressions/RegexParseException.xml b/xml/System.Text.RegularExpressions/RegexParseException.xml
index 12d6ddfacb7..c6ce884abd4 100644
--- a/xml/System.Text.RegularExpressions/RegexParseException.xml
+++ b/xml/System.Text.RegularExpressions/RegexParseException.xml
@@ -14,7 +14,7 @@
- To be added.
+ An exception as a result of a parse error in a regular expression, with detailed information in the and properties.
To be added.
@@ -34,9 +34,8 @@
System.Text.RegularExpressions.RegexParseError
- To be added.
- To be added.
- To be added.
+ Gets the error that happened during parsing.
+ The error that occured during parsing.
@@ -59,10 +58,11 @@
- To be added.
- To be added.
- To be added.
- To be added.
+ The object that holds the serialized object data.
+ The contextual information about the source or destination.
+ Sets the object with the parameter name and additional exception information.
+
+ is .
@@ -81,9 +81,8 @@
System.Int32
- To be added.
- To be added.
- To be added.
+ Gets the zero-based character offset in the regular expression pattern where the parse error occurs.
+ The offset at which the parse error occurs.