I’m trying to use an use the following regular expression in a tclproc to as part of if condition to continue a message. The values are IN and null {}. The regexp recognizes the IN but does not recognize the {} null.
The regexp is below –
if [regexp — IN|{} $vip] {
I have tried escaping the {} using { } and “{}” but neither worked. I continue looking in the Brent Welch book but any help would be appreciated.
AIX 5.1
Platform V rev5.2