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());
1742lookbehindCr.AddChild(new RegexNode(RegexNodeKind.One, lookbehindOptsNoCase, '\r'));
1746crThenLf.AddChild(lookbehindCr);
1747crThenLf.AddChild(new RegexNode(RegexNodeKind.One, lookaheadOptsNoCase, '\n'));
1751guard.AddChild(crThenLf);
1770crlfEnd.AddChild(new RegexNode(RegexNodeKind.One, lookaheadOptsNoCase, '\r'));
1771crlfEnd.AddChild(new RegexNode(RegexNodeKind.One, lookaheadOptsNoCase, '\n'));
1772crlfEnd.AddChild(new RegexNode(RegexNodeKind.End, lookaheadOpts));
1776anyNewLineOptEnd.AddChild(new RegexNode(RegexNodeKind.Set, lookaheadOptsNoCase, RegexCharClass.AnyNewLineClass).MakeQuantifier(false, 0, 1));
1777anyNewLineOptEnd.AddChild(new RegexNode(RegexNodeKind.End, lookaheadOpts));
1781innerAlt.AddChild(crlfEnd);
1782innerAlt.AddChild(anyNewLineOptEnd);
1784lookahead.AddChild(innerAlt);
1788result.AddChild(lookahead);
1789result.AddChild(AnyNewLineCrLfGuardNode());
1807innerAlt.AddChild(new RegexNode(RegexNodeKind.Set, lookaheadOptsNoCase, RegexCharClass.AnyNewLineClass));
1808innerAlt.AddChild(new RegexNode(RegexNodeKind.End, lookaheadOpts));
1810lookahead.AddChild(innerAlt);
1814result.AddChild(lookahead);
1815result.AddChild(AnyNewLineCrLfGuardNode());
1833innerAlt.AddChild(new RegexNode(RegexNodeKind.Set, lookbehindOptsNoCase, RegexCharClass.AnyNewLineClass));
1834innerAlt.AddChild(new RegexNode(RegexNodeKind.Beginning, lookbehindOpts));
1836lookbehind.AddChild(innerAlt);
1840result.AddChild(lookbehind);
1841result.AddChild(AnyNewLineCrLfGuardNode());
2194_concatenation!.AddChild(RegexNode.CreateOneWithCaseConversion(_pattern[pos], isReplacement ? _options & ~RegexOptions.IgnoreCase : _options, _culture, ref _caseBehavior));
2198_concatenation!.AddChild(new RegexNode(RegexNodeKind.Multi, _options & ~RegexOptions.IgnoreCase, _pattern.Substring(pos, cch)));
2204_concatenation!.AddChild(RegexNode.CreateOneWithCaseConversion(c, _options, _culture, ref _caseBehavior));
2235_group.AddChild(_unit);
2255_group.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft());
2259_alternation!.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft());
2270_group.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft());
2279_alternation!.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft());
2280_group.AddChild(_alternation);