Table of Contents

Class RegexCompiler

Namespace
System.Text.RegularExpressions
Assembly
System.Text.RegularExpressions.dll

A regular expression compiler class. This class compiles a pattern string into a regular expression program interpretable by the RE evaluator class. The 'recompile' command line tool uses this compiler to pre-compile regular expressions for use with RE. For a description of the syntax accepted by RECompiler and what you can do with regular expressions, see the documentation for the RE matcher class.

public class RegexCompiler
Inheritance
RegexCompiler
Inherited Members
Extension Methods

Constructors

RegexCompiler()

Constructor. Creates (initially empty) storage for a regular expression program.

public RegexCompiler()

Properties

Instructions

Gets the instructions.

public char[] Instructions { get; }

Property Value

char[]

Pattern

Gets the pattern

public string Pattern { get; }

Property Value

string