We inherited a situation where we have to migrate a series of Quick Fields sessions from QF 7 to QF 8.01. (And are working to get to 10, since you are probably thinking that.) We imported the V7 session, and replaces all of the OCR Zones. So far so good. Now we have a series of pattern matches, none of which work any longer. The details are below, but I think my real question is not why they don't work in QF 8.0.1, but how they worked in QF 7. It seems the 7 interpreter has a lot of non standard elements in it.
Here are the expressions and the results.
Migration: Quick Fields 7.2.1 To 8.02.448
Zone: Name => First Name (Parse first name out of a zone reading First, MI, Last)
RegEx: {\w}\b\c?\b?\w$
Throws error, Illegal escape character: c. zero or one repetition.
Zone: Name =>Last Name (Parse Last name out of a zone reading First, MI, Last)
RegEx: \w\b?\c?\b{\w}
Zone: Name => Middle Initial (Parse middle initial out of a zone reading First, MI, Last)
RegEx: \w{\b?\c?}\b\w
Throws error, Illegal escape character: c. zero or one repetition.
Zone: Check Date
RegEx: \z\n\n{\d\d?.\d\d?.\d\d\d\d}
No error, does not parse 6/22/2001
Zone: Check Number
RegEx: {\z}
No formatting error, does not parse 93461
Zone: Payment Amount
RegEx: \z\n\n\d\d?.\d\d?.\d\d\d\d\b+{[$]\d\d?\d?\d?.\d\d}
No formatting error, does not parse 124.01***
Zone: Payment Account
RegEx: Acct # {.*}
No formatting error, does not parse Acct # 8773 10 314 0196171
I did test this in Expresso, and got the same results.
And viewed this thread:
https://answers.laserfiche.com/questions/46981/Questions-with-Topic-Quick-Fields
where the RegEx testing button did not seem to work consistently.