Regular expressions under 7.5.1.18
One change in version 7.5.1.18 of the sdk and version 1.8.1 of BardecodeFiler that has caused some backward compatibility issues is in the area of regular expressions. This version uses Microsoft RegEx matching and one important difference lies in the use of {} brackets.
In previous versions of the sdk you could use the following pattrern to match strings similar to A123456:
A\d{6}
i.e Letter A followed by 6 digits
But the Microsoft’s CAtlRegExp implementation views {} brackets in a similar way to [] brackets and doesn’t have a way of specifying n repeats.
So the above pattern should now be written as:
A\d\d\d\d\d\d
If you need to match between 3 and 6 digits then use the ? character after the digits that are optional:
A\d\d\d\d?\d?\d?
Note that in BardecodeFiler the regular expressions used in the Re-Format tab do support the {} brackets for repeated patterns. The above only applies to the RegEx pattern used in the Barcode Options tab.
See also:
http://msdn.microsoft.com/en-us/library/k3zs4axe(v=vs.71).aspx