Forum Discussion
Matt_Breedlove_
Jun 16, 2014Nimbostratus
String glob match for dash or hyphen
Having a probem matching a dash/hyphen in a glob string match inside a switch
I tried the classic TCL way to do it which seemed to be to have the hyphen be leading or trailing so it is not seen as ...
- Jun 17, 2014
I am scratching my head trying to see the difference between the first two examples?
However this expression should do the trick...
"[pid][re2][do--]*tools-config.acme.com"
Kevin_Davies_40
Nacreous
I am scratching my head trying to see the difference between the first two examples?
However this expression should do the trick...
"[pid][re2][do--]*tools-config.acme.com"
Kevin_Davies_40
Jun 20, 2014Nacreous
I actually couldn't find this information anywhere myself and I looked. I just guessed. Programatically whenever there is a character that has a special meaning, there must always be a way to negate that special meaning. The two most common are using a backslash in front or using two of them in a row.
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