Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

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

Syntax
public static class RegexPattern.Groups

Fields

ParameterName

In '@document.Employee.Amount:format' or '@(document.Employee.Amount:format)' finds 'document.Employee.Amount'

Declaration
public const string ParameterName = "(?<ParameterName>(?(MaybeWithBracket)[\\w ]+(\\.[\\w ]+)*|\\w+(\\.\\w+)*))"
Returns
TypeDescription
string

FindParameter

In '@document.Employee.Amount:format' or '@(document.Employee.Amount:format)' finds '@' '@('

Declaration
public const string FindParameter = "(?<FindParameter>(?<MaybeWithBracket>@\\()|(?<WithoutBracket>(?<=[^\\w]|^|\\\\n)@))"
Returns
TypeDescription
string

MaybeWithBracket

Declaration
public const string MaybeWithBracket = "(?<MaybeWithBracket>@\\()"
Returns
TypeDescription
string

EndWithBracketIfExists

Declaration
public const string EndWithBracketIfExists = "(?<EndWithBracketIfExists>(?(MaybeWithBracket)\\)|))"
Returns
TypeDescription
string

WithoutBracket

Declaration
public const string WithoutBracket = "(?<WithoutBracket>(?<=[^\\w]|^|\\\\n)@)"
Returns
TypeDescription
string

MaybeExistsFormat

Declaration
public const string MaybeExistsFormat = "((?<MaybeExistsFormat>:(?!\\s*@))|())"
Returns
TypeDescription
string

Format

In '@document.Employee.Amount:format' or '@(document.Employee.Amount:format)' finds 'format'

Declaration
public const string Format = "(?<Format>(?(MaybeExistsFormat)(?(MaybeWithBracket)([^\"'()]|(?<=\\\\)(\\(|\\)|\\\"|'))*|[^\\(\\)\\{\\}\\[\\]\\s\\\"']*)|))"
Returns
TypeDescription
string

MaybeWithQuotes

Declaration
public const string MaybeWithQuotes = "(?:((?<MaybeWithSingleQuote>\\')|())|((?<MaybeWithDoubleQuote>\\\")|()))"
Returns
TypeDescription
string

EndWithQuotesIfExists

Declaration
public const string EndWithQuotesIfExists = "(?<EndWithQuotesIfExists>(?(MaybeWithDoubleQuote)\\\"|(?<EndWithQuotesIfExists>(?(MaybeWithSingleQuote)\\'|))))"
Returns
TypeDescription
string