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"
Matt_Breedlove_
Jun 19, 2014Nimbostratus
Thank you Kevin. Yes that worked, doubling the dashes at the end of the line gave me a literal dash : )
It would be great if this information was in the string/glob wiki page
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