You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <summary>Provides details on how a match may be processed in reverse to find the beginning of a match once a match's existence has been confirmed.</summary>
// Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
4
-
namespaceSystem.Text.RegularExpressions.Symbolic;
5
-
6
-
internalenumMatchReversalKind
4
+
namespaceSystem.Text.RegularExpressions.Symbolic
7
5
{
8
-
/// <summary>The most generic option, run the regex backwards to find beginning of match</summary>
9
-
MatchStart,
10
-
/// <summary>Part of the reversal is fixed length and can be skipped</summary>
11
-
PartialFixedLength,
12
-
/// <summary>The entire pattern is fixed length, reversal not necessary</summary>
13
-
FixedLength
6
+
/// <summary>Specifies the kind of a <see cref="MatchReversalInfo{TSet}"/>.</summary>
7
+
internalenumMatchReversalKind
8
+
{
9
+
/// <summary>The regex should be run in reverse to find beginning of the match.</summary>
10
+
MatchStart,
11
+
12
+
/// <summary>The end of the pattern is of a fixed length and can be skipped as part of running a regex in reverse to find the beginning of the match.</summary>
13
+
/// <remarks>
14
+
/// Reverse execution is not necessary for a subset of the match.
15
+
/// <see cref="MatchReversalInfo{TSet}.FixedLength"/> will contain the length of the fixed portion.
16
+
/// </remarks>
17
+
PartialFixedLength,
18
+
19
+
/// <summary>The entire pattern is of a fixed length.</summary>
20
+
/// <remarks>
21
+
/// Reverse execution is not necessary to find the beginning of the match.
22
+
/// <see cref="MatchReversalInfo{TSet}.FixedLength"/> will contain the length of the match.
0 commit comments