If there is something in the HTTP::query portion of the URI that you are looking for then you might have to nest a switch statement on the HTTP::query since this starts at the “?” but does not include it.
Michael’s idea of using just the query string might work for your scenario. If not, you should be able to escape the question mark to have it interpreted literally. Here’s a quick test using tclsh. I think you’d want just one backslash:
Then it matches any two single characters? There seems to be contradicting info on the forums/wiki about needing double backslash for the literal question mark, but then in the tclsh test above it saying a single backslash works..
I dont want to get caught up with syntax issues
If its safer doing 2 questions markes for two single occurences of any character I would prefer that, but notice I am not quoting the switch match strings…is that okay when using the double question mark for this?