Forum Discussion
CharlesCS
Jul 27, 2009Cirrus
As a follow-on, I believe the question is:
Given that TCL treats strings which begin with "\u" followed by four hexadecimal characters as a Unicode escape sequence, how can you test a string for the presence of text that resembles -- but isn't -- a Unicode escape? For example, in the javascript cited above, how do you detect the presence or absence of "\u002f" as a text string rather than the Unicode equivalent of "/"?
This isn't limited to stream replacement, as the same issue arises in iRule comparisons.