21 references to Bol
System.Text.RegularExpressions.Generator (21)
parent\src\System\Text\RegularExpressions\RegexFindOptimizations.cs (2)
56
if (rightToLeft && LeadingAnchor == RegexNodeKind.
Bol
)
280
LeadingAnchor == RegexNodeKind.
Bol
; // there's a leading BOL anchor we can otherwise search for
parent\src\System\Text\RegularExpressions\RegexNode.cs (6)
977
RegexNodeKind.
Bol
or RegexNodeKind.Eol or
1266
case RegexNodeKind.Beginning or RegexNodeKind.Start or RegexNodeKind.
Bol
2023
RegexNodeKind.
Bol
or RegexNodeKind.Eol or
2301
RegexNodeKind.
Bol
or RegexNodeKind.Eol or
2917
case RegexNodeKind.
Bol
:
3052
case RegexNodeKind.
Bol
:
parent\src\System\Text\RegularExpressions\RegexParser.cs (1)
400
_unit = new RegexNode((_options & RegexOptions.Multiline) != 0 ? RegexNodeKind.
Bol
: RegexNodeKind.Beginning, _options);
parent\src\System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (7)
90
case RegexNodeKind.
Bol
:
459
case RegexNodeKind.
Bol
:
663
case RegexNodeKind.
Bol
:
1014
case RegexNodeKind.
Bol
:
1284
case RegexNodeKind.
Bol
:
1351
case RegexNodeKind.
Bol
:
1462
RegexNodeKind.
Bol
=> 2,
RegexGenerator.Emitter.cs (5)
1082
case RegexNodeKind.
Bol
:
2923
case RegexNodeKind.
Bol
:
3286
Debug.Assert(node.Kind is RegexNodeKind.Beginning or RegexNodeKind.Start or RegexNodeKind.
Bol
or RegexNodeKind.End or RegexNodeKind.EndZ or RegexNodeKind.Eol, $"Unexpected type: {node.Kind}");
3311
case RegexNodeKind.
Bol
:
5592
RegexNodeKind.
Bol
=> "Match if at the beginning of a line.",