Show / Hide Table of Contents

Class RegexOperation

The default Regex operation

Inheritance
System.Object
OatOperation
RegexOperation
Inherited Members
OatOperation.Analyzer
OatOperation.ValidationDelegate
OatOperation.Operation
OatOperation.OperationDelegate
OatOperation.CustomOperation
OatOperation.UndefinedValidation(Rule, Clause)
OatOperation.NopOperation(Clause, Object, Object, IEnumerable<ClauseCapture>)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.CST.OAT.Operations
Assembly: OAT.dll
Syntax
public class RegexOperation : OatOperation

Constructors

| Improve this Doc View Source

RegexOperation(Analyzer)

Create an OatOperation given an analyzer

Declaration
public RegexOperation(Analyzer analyzer)
Parameters
Type Name Description
Analyzer analyzer

The analyzer context to work with

Methods

| Improve this Doc View Source

StringToRegex(String, RegexOptions)

Converts a strings to a compiled regex. Uses an internal cache.

Declaration
public Regex StringToRegex(string built, RegexOptions regexOptions)
Parameters
Type Name Description
System.String built

The regex to build

System.Text.RegularExpressions.RegexOptions regexOptions

The options to use.

Returns
Type Description
System.Text.RegularExpressions.Regex

The built Regex

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX