Pattern content validator.

Hierarchy

Constructors

Properties

_type: "PatternContentValidator"
allowedCharacters: string

OCR whitelist. Empty string means no restriction.

Default Value

"";
matchSubstring: boolean

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

Default Value

false;
pattern: string

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

patternGrammar: PatternGrammar

Grammar of pattern matching.

Default Value

"WILDCARD";

Generated using TypeDoc