I just signed up for the SDK and am testing it out with my product. It works pretty well so far, but I have question regarding the regular expression functionality for processTextField.
One of the fields I need to recognize is a name field. These names are actually the names of my users and therefore I know the entire domain of possible entries. I'd like to pass this domain to the SDK to give it a better chance of a positive match. I'm trying to use the regExp parameter of processTextField to accomplish this, but it seems to have no effect on the outcome. I have tried passing
/(name1)|(name2)/i
and
(name1)|(name2)
and even
(name)
none of these seem to have an effect on the outcome. Guidance or suggestions, appreciated!