Forum Discussion
paul_73820
Nimbostratus
13 years agoregex for a number between 1-99
Hi There,
I am trying to validate a string with that is like this:
pw-10:1000.100
The regex i am using is:
^pw-[1-9]\d?
This works in perl, and infact in tcl 8.5 but doesnt m...
paul_73820
Nimbostratus
13 years agoThanks hoolio,
I think you mean glob ;)
If you use glob is it a string match?
I was using regex as we had a number of tricky strings that were evaluated in the same switch, thats not the case now so might be time to review and drop the regex.
I havent noticed any real impact due to regex yet.
Paul
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