regex matching with regexp : LUSENET : Tool Command Language (Tcl) : One Thread

Hi people !! I need help for following problem: how can I match \%\w in strings like hallo %hallo = 12U; 12 %12 = 0; but expect of strings like printf("Today is the %d.%d.1998\n", pstruToday->sDay, pstruToday->sMonth); printf("%d", xxx_ts_ExternCharArrayWrongType [2]); printf ("%d >> 2 = %d\n", sSignedShift, sResult); I need the \%\w to be relevant only outside of printf(...) sequences. Many thanks for quick help !!! redbanditos

-- redbanditos (, October 16, 2002

Moderation questions? read the FAQ