Hello Everyone. I have been doing a bunch of Pattern matching recently and besides the fact that Worfklow pattern matching seems to have different behavior than Quickfield pattern matching, it has been tough. My question comes down to Alternation. The way I understand it to work and I have got it to work sometimes is that I can have multiple regex patterns separated by the pipe | and if one of them matches, it works. So to prove my point of how crazy this is, this is the situation I'm in now. This SHOULD work.
I have 9 digits and the first regex is \d{9}. The second set is to account for an underscore after the first 2 digits. If I delete the second regex, the result field is perfect.
If I only use the second regex, it also works.
So both my regex work until I use the | and then I don't get a result. WHY??? It does not make sense to me. It should match either one right?!?!
Please help. Thank you.