react-native-scanbot-sdk
    Preparing search index...

    Class PatternContentValidator

    Pattern content validator.

    Index
    _type: "PatternContentValidator"
    allowedCharacters: string

    OCR whitelist. Empty string means no restriction. Only characters that are present in the allowedCharacters string will be accepted. For example, if allowedCharacters is set to "ab", the result may only contain characters 'a' and 'b'.

    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.