Class RegexPattern.Groups
Contain parts which can be used to compose common patterns and names which can be used for search in match. If add new group don't forget about name. If change names don't forget about name include pattern.
Inheritance
↳ object
↳ RegexPattern.Groups
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.CodeActions
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic static class RegexPattern.Groups
Fields
ParameterName
In '@document.Employee.Amount:format' or '@(document.Employee.Amount:format)' finds 'document.Employee.Amount'
Declarationpublic const string ParameterName = "(?<ParameterName>(?(MaybeWithBracket)[\\w ]+(\\.[\\w ]+)*|\\w+(\\.\\w+)*))"
Type | Description |
---|---|
string |
FindParameter
In '@document.Employee.Amount:format' or '@(document.Employee.Amount:format)' finds '@' '@('
Declarationpublic const string FindParameter = "(?<FindParameter>(?<MaybeWithBracket>@\\()|(?<WithoutBracket>(?<=[^\\w]|^|\\\\n)@))"
Type | Description |
---|---|
string |
MaybeWithBracket
Declarationpublic const string MaybeWithBracket = "(?<MaybeWithBracket>@\\()"
Type | Description |
---|---|
string |
EndWithBracketIfExists
Declarationpublic const string EndWithBracketIfExists = "(?<EndWithBracketIfExists>(?(MaybeWithBracket)\\)|))"
Type | Description |
---|---|
string |
WithoutBracket
Declarationpublic const string WithoutBracket = "(?<WithoutBracket>(?<=[^\\w]|^|\\\\n)@)"
Type | Description |
---|---|
string |
MaybeExistsFormat
Declarationpublic const string MaybeExistsFormat = "((?<MaybeExistsFormat>:(?!\\s*@))|())"
Type | Description |
---|---|
string |
Format
In '@document.Employee.Amount:format' or '@(document.Employee.Amount:format)' finds 'format'
Declarationpublic const string Format = "(?<Format>(?(MaybeExistsFormat)(?(MaybeWithBracket)([^\"'()]|(?<=\\\\)(\\(|\\)|\\\"|'))*|[^\\(\\)\\{\\}\\[\\]\\s\\\"']*)|))"
Type | Description |
---|---|
string |
MaybeWithQuotes
Declarationpublic const string MaybeWithQuotes = "(?:((?<MaybeWithSingleQuote>\\')|())|((?<MaybeWithDoubleQuote>\\\")|()))"
Type | Description |
---|---|
string |
EndWithQuotesIfExists
Declarationpublic const string EndWithQuotesIfExists = "(?<EndWithQuotesIfExists>(?(MaybeWithDoubleQuote)\\\"|(?<EndWithQuotesIfExists>(?(MaybeWithSingleQuote)\\'|))))"
Type | Description |
---|---|
string |