Pattern content validator.

Hierarchy (view full)

Constructors

Properties

_type: "PatternContentValidator"
allowedCharacters: string

OCR whitelist. Empty string means no restriction.

Default is ""

matchSubstring: boolean

Whether the pattern should match the whole string or just a substring.

Default is false

pattern: string

Pattern to match. It can be a simple pattern or a regular expression.

patternGrammar: PatternGrammar

Grammar of pattern matching.

Default is WILDCARD