diff --git a/src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexRunner.cs b/src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexRunner.cs index 6995c6a27632e..fdad5fc2e0c69 100644 --- a/src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexRunner.cs +++ b/src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexRunner.cs @@ -70,6 +70,13 @@ public abstract class RegexRunner protected RegexRunner() { } + /// Used by a object to scan the input looking for the next match. + /// This API supports the product infrastructure and is not intended to be used directly from your code. + /// The text to scan for a pattern match. + /// + /// -based methods are not supported from -derived types + /// generated by Regex.CompileToAssembly. + /// protected internal virtual void Scan(ReadOnlySpan text) { // This base implementation is overridden by all of the built-in engines and by all source-generated