Class RegexOperation
The default Regex operation
Inherited Members
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 SourceRegexOperation(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 SourceStringToRegex(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 |