Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Another SMAT Regex question
Code:
MSH(|[^|]*){7}|(ADT|RDE)
Also, is there a reference document on the regex spec that Cloverleaf uses? None of the user guides cover this.
Thanks.
Migration Consultant Coffee Regional Medical Center Eastern Time Zone
I tried this pattern in a SMAT search, and it didn’t find any ORMs. I was using a file that contained both ADT and ORM messages.
From the command line you can type “man re_syntax”. There’s a copy of the documentation online here:
http://www.tcl.tk/man/tcl8.4/TclCmd/re_syntax.htm
My guess is that you’re doing something wrong setting up your view. You might try a simpler regular expression like “ADT^A08” and see if it has the expected result. If not, you’re doing something wrong (other than the expression itself).
Try something like this. You probably don’t need all of the preceding characters.
(ADT^|RDE^)
-- Max Drown (Infor)