Clovertech
Could you post the regex line in your tcl code? I can’t duplicate the problem in hcitcl
hcitcl>set x R01MDOC hcitcl>regexp {R01(?!MDOC)} $x match 0
hcitcl>set x R01GENLAB hcitcl>regexp {R01(?!MDOC)} $x match 1
Seems to be working….
regsub {(NOTE:)(d{2}/d{2}/d{2})?)} $x {