RegEx

Layouts v1 API is deprecated and no longer supported as of OpenFin 16+. Please use Platform API instead.

Format that must be used when passing regular expressions to the service.

Note: Only a fairly small subset of API calls allow the use of regex patterns, most API calls require a single explicit window identity.

Hierarchy

  • RegEx

Index

Properties

Properties

expression

expression: string

Defines the regex pattern.

Do not wrap the expression in / characters - specify the pattern string as you would when passing to the RegExp constructor.

Optional flags

flags: undefined | string

Any additional flags that form part of this expression. Supports same values as the native JS RegExp class.

Optional invert

invert: undefined | false | true

In addition, an invert parameter can also be used, to flip the filter that is defined by this expression.