Hi Sergei,
Technically regex is always 'strict' in terms of validation, unless you select the Soft Validation flag. Regex is primarily used for validation, to prevent incorrect values being passed to Blue Prism. It will also attempt to use it to find the values in the document, but that can be trickier where the regex pattern is found in multiple locations in the document.
The Strict Regex flag is used to override the location training and sample headers when locating the value in the document. So in the event you want Decipher to find a value matching that pattern, regardless of where it is in the document, then use the flag. But it will need to be a unique pattern.
You seem to be using the same pattern in multiple places and the strict regex flag, these will be working against you, as clearly the string pattern isn't unique. It's impossible to tell why you're getting such incorrect values returned without seeing the rest of your DFD or knowing what your training has been like.
Also, as it mentions it's a tax field, perhaps you will have better results by changing it to Money.
Thanks
------------------------------
Ben Lyons
Senior Product Specialist - Decipher
Blue Prism
UK based
------------------------------
Ben Lyons
Principal Product Specialist - Decipher
SS&C Blue Prism
UK based