Forum Discussion
Matt_Breedlove_
Nimbostratus
Aug 08, 2011assistance with literal question mark in switch
Hi All,
In this switch, it allows through a few URI prefixes with a wildcard, but then there is a URI that is like this
/?g
or like this
/?w
any single character following the literal ...
Matt_Breedlove_
Nimbostratus
Aug 08, 2011Would it be safer just to use
/?? {return}
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?
Thanks
M
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects