I found the thread below, but because it is old I thought I would create a new one with some more findings…
When I am looking for all messages that contain one of 10 client codes in PV1-3, I would typically use something like this…
PV1|1||(0100|0375|0335|0350|0455|0530|0590|0625|0675|9999)|
…it fails, but if I do this…
PV1|1||(0100|0375|0335|0350|0455|0530|0590|0625|0675)|
…it correctly returns messages. Apparently the regex doesn’t like more than 9 options in a group.
I’ve found quite a few other issues that I don’t have at my fingertips right now, but I know one thing for sure…I don’t trust regular expression results much anymore.