Chapter 5 – Project Setup
72
Setting a mask syntax
The barcode masks are defined according to a mask syntax. They
are used to validate the values detected on the documents, such as,
for example, the index field values.
A mask is made of characters that correspond to different values:
A = alphabetic character (from A to Z and a to z)
X = alphanumeric character
9 = a digit (from 0 to 9)
? = any character
E.g.: if the value mask is
AA99
: the value is valid if it starts with
two alphabetic characters followed by two digits.
Some portion of the mask may have to match a literal expression.
This expression must then be written between quotes.
E.g.: if the value mask is
AA"CONTRACT"99
, the value is valid
if it starts with two alphabetic characters followed by the literal
expression "CONTRACT", followed by two digits.
For each character, you can also specify a counter, i.e. the number
of characters that must be present in the value.
E.g.: ?(3) means up to 3 characters.
E.g.: A(3) means up to 3 alphanumeric characters.
E.g.: A(3)"CONTRACT"99 the value is valid if it starts with up to
three alphabetic characters followed by the literal expression
"CONTRACT", followed by two digits.
Number type mask characters
9 = numeric
E.g.: 9(3) or 999 => 453 or 123 or 657, etc.
Date type mask characters
D = numeric
Содержание POWERSCAN 9.5
Страница 1: ...Version 9 5 User Guide...
Страница 2: ......
Страница 10: ......
Страница 12: ......
Страница 20: ......
Страница 28: ...Chapter 2 Installation 20...
Страница 50: ......
Страница 134: ......
Страница 154: ...Chapter 6 Scanning 146...
Страница 162: ...Chapter 8 Post scanning operations 154 Image editing Image re organization...
Страница 182: ...IRISPowerscanTM User Guide 174...