Class AnyTextGrammar.RegexRule
A rule class representing the rule 'Regex'
public class AnyTextGrammar.RegexRule : EscapedRegexRule
- Inheritance
-
AnyTextGrammar.RegexRule
- Inherited Members
Methods
Escape(string)
Escapes the given string
public override string Escape(string value)
Parameters
value
stringthe unescaped string
Returns
- string
the escaped string
Initialize(GrammarContext)
Initializes the current grammar rule
public override void Initialize(GrammarContext context)
Parameters
context
GrammarContextthe grammar context in which the rule is initialized
Remarks
Do not modify the contents of this method as it will be overridden as the contents of the AnyText file change.
Unescape(string)
Unescapes the given string
public override string Unescape(string value)
Parameters
value
stringthe escaped string
Returns
- string
the unescaped string