infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Wildcard Route All ADT_A?? except A17 and A24.
Keith McLeod
I have gone through several regular expressions in a wildcard route, however still not getting the reulst of sending all ADTs except ADT_A17 and ADT_A24 message types. Tried things like ADT_A.[^17|24] and other variations. Is the '.' required?
Anyone have a good source for regular expression building?
Find more posts tagged with
Clovertech
Comments
Charlie Bursell
A good source is Brent Welch's latest Tcl book.
When you say *ALL* HL7 message do you really mean all?
You could use a regexp like:
ADT_A(0[1-9)|(1[0-689])|(2[0-35-9])|(3[0-9])
Would send ADT_A01 - ADT_A39 and exclude A17 and A24
If I really wanted all and I was just getting ADTs, I would filter the A17 and A24 types in the input and simply raw route the rest.
Charlie
System
Originally posted by Tom Henderson
There's a tool called Visual-Regexp which allows you to play around with regular expressions and matching. I use it every now and then when I'm working on a tricky one, or when the regular expresssion I just created somehow fails to match anything.
See
http://wiki.tcl.tk/7992
for details. The interface takes a little getting used to, but once you get the hang of it...
Don't confuse with Regexplorer, which is a similar tool written in Perl.
Charlie Bursell
We also have a tool called Tcl 8)
System
Originally posted by Tom Henderson
I should probably clarify that Visual-Regexp IS written in TCL, which is why I tend to use it for TCL regular expressions. Regexplorer is probably just as good for regular expression exploring, but it's written in Perl...