Forum Discussion

Matt_Breedlove_'s avatar
Matt_Breedlove_
Icon for Nimbostratus rankNimbostratus
Jun 16, 2014

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 ...
  • Kevin_Davies_40's avatar
    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"