System\Text\RegularExpressions\RegexParser.cs (37)
452_concatenation!.AddChild(_unit!);
493_concatenation!.AddChild(_unit!);
520_concatenation!.AddChild(_unit!.MakeQuantifier(lazy, min, max));
561_concatenation.AddChild(ScanDollar());
1741lookbehindCr.AddChild(new RegexNode(RegexNodeKind.One, lookbehindOptsNoCase, '\r'));
1745crThenLf.AddChild(lookbehindCr);
1746crThenLf.AddChild(new RegexNode(RegexNodeKind.One, lookaheadOptsNoCase, '\n'));
1750guard.AddChild(crThenLf);
1769crlfEnd.AddChild(new RegexNode(RegexNodeKind.One, lookaheadOptsNoCase, '\r'));
1770crlfEnd.AddChild(new RegexNode(RegexNodeKind.One, lookaheadOptsNoCase, '\n'));
1771crlfEnd.AddChild(new RegexNode(RegexNodeKind.End, lookaheadOpts));
1775anyNewLineOptEnd.AddChild(new RegexNode(RegexNodeKind.Set, lookaheadOptsNoCase, RegexCharClass.AnyNewLineClass).MakeQuantifier(false, 0, 1));
1776anyNewLineOptEnd.AddChild(new RegexNode(RegexNodeKind.End, lookaheadOpts));
1780innerAlt.AddChild(crlfEnd);
1781innerAlt.AddChild(anyNewLineOptEnd);
1783lookahead.AddChild(innerAlt);
1787result.AddChild(lookahead);
1788result.AddChild(AnyNewLineCrLfGuardNode());
1806innerAlt.AddChild(new RegexNode(RegexNodeKind.Set, lookaheadOptsNoCase, RegexCharClass.AnyNewLineClass));
1807innerAlt.AddChild(new RegexNode(RegexNodeKind.End, lookaheadOpts));
1809lookahead.AddChild(innerAlt);
1813result.AddChild(lookahead);
1814result.AddChild(AnyNewLineCrLfGuardNode());
1832innerAlt.AddChild(new RegexNode(RegexNodeKind.Set, lookbehindOptsNoCase, RegexCharClass.AnyNewLineClass));
1833innerAlt.AddChild(new RegexNode(RegexNodeKind.Beginning, lookbehindOpts));
1835lookbehind.AddChild(innerAlt);
1839result.AddChild(lookbehind);
1840result.AddChild(AnyNewLineCrLfGuardNode());
2193_concatenation!.AddChild(RegexNode.CreateOneWithCaseConversion(_pattern[pos], isReplacement ? _options & ~RegexOptions.IgnoreCase : _options, _culture, ref _caseBehavior));
2197_concatenation!.AddChild(new RegexNode(RegexNodeKind.Multi, _options & ~RegexOptions.IgnoreCase, _pattern.Substring(pos, cch)));
2203_concatenation!.AddChild(RegexNode.CreateOneWithCaseConversion(c, _options, _culture, ref _caseBehavior));
2234_group.AddChild(_unit);
2254_group.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft());
2258_alternation!.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft());
2269_group.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft());
2278_alternation!.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft());
2279_group.AddChild(_alternation);