Pattern - specify regular expression that barcode value must match
The Pattern property is a regular expression that each barcode found in an image is compared against. The toolkit will only return barcodes that match the pattern.
The toolkit use POSIX extended regular expression syntax.
“ABCDEF” will match all barcodes containing “ABCDEF” (e.g “XYZABCDEFXYZ”) .
“ABC[0-9]+” will match all barcodes containing “ABC” followed by one or more digits (e.g XYZABC71827XYZ”).
“^ABC[0-9]+$” will match barcodes that only consist of “ABC” followed by one or more digits (e.g “ABC12345”).
Note that if a Code 39 barcode uses a checksum character and the Pattern property is used to specify the entire string (ie. the last character of the pattern is $) then the Code39Checksum property must also be set to True.
Default value: NULL