Draft for Information Only
Content
Regular Expression Engine Compilation RegexRunner Class Constructors Fields Methods Applies to RegexRunnerFactory Class Constructors Methods Remarks Applies to Source/Reference
Regular Expression Engine Compilation
RegexRunner Class
The RegexRunner class is the base class for compiled regular expressions.
This API supports the product infrastructure and is not intended to be used directly from your code.
Namespace System.Text.RegularExpressions
Assemblies System.Text.RegularExpressions.dll, System.dll, netstandard.dll
public abstract class RegexRunner
Inheritance Object->RegexRunner
Constructors
RegexRunner()
Initializes a new instance of the RegexRunner class.
Fields
runcrawl
Used by a Regex object generated by the CompileToAssembly method.
runcrawlpos
Used by a Regex object generated by the CompileToAssembly method.
runmatch
Used by a Regex object generated by the CompileToAssembly method.
runregex
Used by a Regex object generated by the CompileToAssembly method.
runstack
Used by a Regex object generated by the CompileToAssembly method.
runstackpos
Used by a Regex object generated by the CompileToAssembly method.
runtext
Used by a Regex object generated by the CompileToAssembly method.
runtextbeg
Used by a Regex object generated by the CompileToAssembly method.
runtextend
Used by a Regex object generated by the CompileToAssembly method.
runtextpos
Used by a Regex object generated by the CompileToAssembly method.
runtextstart
Used by a Regex object generated by the CompileToAssembly method.
runtrack
Used by a Regex object generated by the CompileToAssembly method.
runtrackcount
Used by a Regex object generated by the CompileToAssembly method.
runtrackpos
Used by a Regex object generated by the CompileToAssembly method.
Methods
Capture(Int32, Int32, Int32)
Used by a Regex object generated by the CompileToAssembly method.
CharInClass(Char, String)
Used by a Regex object generated by the CompileToAssembly method. Determines whether a character is in a character class.
CharInSet(Char, String, String)
Used by a Regex object generated by the CompileToAssembly method.
CheckTimeout()
Used by a Regex object generated by the CompileToAssembly method.
Crawl(Int32)
Used by a Regex object generated by the CompileToAssembly method.
Crawlpos()
Used by a Regex object generated by the CompileToAssembly method.
DoubleCrawl()
Used by a Regex object generated by the CompileToAssembly method.
DoubleStack()
Used by a Regex object generated by the CompileToAssembly method.
DoubleTrack()
Used by a Regex object generated by the CompileToAssembly method.
EnsureStorage()
Used by a Regex object generated by the CompileToAssembly method.
Equals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object)
FindFirstChar()
Used by a Regex object generated by the CompileToAssembly method.
GetHashCode()
Serves as the default hash function.
(Inherited from Object)
GetType()
Gets the Type of the current instance.
(Inherited from Object)
Go()
Used by a Regex object generated by the CompileToAssembly method.
InitTrackCount()
Used by a Regex object generated by the CompileToAssembly method.
IsBoundary(Int32, Int32, Int32)
Used by a Regex object generated by the CompileToAssembly method.
IsECMABoundary(Int32, Int32, Int32)
Used by a Regex object generated by the CompileToAssembly method.
IsMatched(Int32)
Used by a Regex object generated by the CompileToAssembly method.
MatchIndex(Int32)
Used by a Regex object generated by the CompileToAssembly method.
MatchLength(Int32)
Used by a Regex object generated by the CompileToAssembly method.
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object)
Popcrawl()
Used by a Regex object generated by the CompileToAssembly method.
Scan(Regex, String, Int32, Int32, Int32, Int32, Boolean)
Used by a Regex object generated by the CompileToAssembly method.
Scan(Regex, String, Int32, Int32, Int32, Int32, Boolean, TimeSpan)
Used by a Regex object generated by the CompileToAssembly method.
ToString()
Returns a string that represents the current object.
(Inherited from Object)
TransferCapture(Int32, Int32, Int32, Int32)
Used by a Regex object generated by the CompileToAssembly method.
Uncapture()
Used by a Regex object generated by the CompileToAssembly method.
Applies to
.NET Framework:
4.8, 4.7.2, 4.7.1, 4.7, 4.6.2, 4.6.1, 4.6, 4.5.2, 4.5.1, 4.5, 4.0, 3.5, 3.0, 2.0, 1.1
RegexRunnerFactory Class
Creates a RegexRunner class for a compiled regular expression.
This API supports the product infrastructure and is not intended to be used directly from your code.
Namespace System.Text.RegularExpressions
Assemblies System.Text.RegularExpressions.dll, System.dll, netstandard.dll
public abstract class RegexRunnerFactory
Inheritance Object->RegexRunnerFactory
Constructors
RegexRunnerFactory()
Initializes a new instance of the RegexRunnerFactory class.
Methods
CreateInstance()
When overridden in a derived class, creates a RegexRunner object for a specific compiled regular expression.
Equals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode()
Serves as the default hash function.
(Inherited from Object)
GetType()
Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()
Returns a string that represents the current object.
(Inherited from Object)
Remarks
A RegexRunner object executes a compiled regular expression. A regular expression that is compiled to an assembly becomes a type in that assembly, and an object of that type is typically created using reflection. However, creating an object by reflection is an expensive operation. The RegexRunnerFactory class improves the performance of the .NET Framework by providing the CreateInstance method, which creates a
RegexRunner object for a specific compiled regular expression.
Applies to
.NET Framework:
4.8, 4.7.2, 4.7.1, 4.7, 4.6.2, 4.6.1, 4.6, 4.5.2, 4.5.1, 4.5, 4.0, 3.5, 3.0, 2.0, 1.1
Source/Reference
https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regexrunner?view=netframework-4.8
https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regexrunnerfactory?view=netframework-4.8
©sideway
ID: 200700008 Last Updated: 7/8/2020 Revision: 0 Ref:
References
Active Server Pages, , http://msdn.microsoft.com/en-us/library/aa286483.aspx
ASP Overview, , http://msdn.microsoft.com/en-us/library/ms524929%28v=vs.90%29.aspx
ASP Best Practices, , http://technet.microsoft.com/en-us/library/cc939157.aspx
ASP Built-in Objects, , http://msdn.microsoft.com/en-us/library/ie/ms524716(v=vs.90).aspx
Response Object, , http://msdn.microsoft.com/en-us/library/ms525405(v=vs.90).aspx
Request Object, , http://msdn.microsoft.com/en-us/library/ms524948(v=vs.90).aspx
Server Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525541(v=vs.90).aspx
Application Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525360(v=vs.90).aspx
Session Object (IIS), , http://msdn.microsoft.com/en-us/library/ms524319(8v=vs.90).aspx
ASPError Object, , http://msdn.microsoft.com/en-us/library/ms524942(v=vs.90).aspx
ObjectContext Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525667(v=vs.90).aspx
Debugging Global.asa Files, , http://msdn.microsoft.com/en-us/library/aa291249(v=vs.71).aspx
How to: Debug Global.asa files, , http://msdn.microsoft.com/en-us/library/ms241868(v=vs.80).aspx
Calling COM Components from ASP Pages, , http://msdn.microsoft.com/en-us/library/ms524620(v=VS.90).aspx
IIS ASP Scripting Reference, , http://msdn.microsoft.com/en-us/library/ms524664(v=vs.90).aspx
ASP Keywords, , http://msdn.microsoft.com/en-us/library/ms524672(v=vs.90).aspx
Creating Simple ASP Pages, , http://msdn.microsoft.com/en-us/library/ms524741(v=vs.90).aspx
Including Files in ASP Applications, , http://msdn.microsoft.com/en-us/library/ms524876(v=vs.90).aspx
ASP Overview, , http://msdn.microsoft.com/en-us/library/ms524929(v=vs.90).aspx
FileSystemObject Object, , http://msdn.microsoft.com/en-us/library/z9ty6h50(v=vs.84).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms675944(v=vs.85).aspx, , ADO Object Model
ADO Fundamentals, , http://msdn.microsoft.com/en-us/library/windows/desktop/ms680928(v=vs.85).aspx