Forum Discussion
Richard_Jones
Jun 22, 2011Nimbostratus
Different results from TCL regexp and iRules regexp
I am working on an iRule that will validate the value of a parameter only contains a-z, 0-9, and / + =. I have created a regexp pattern that works in TCL, but not in an iRule:
TCL:
...
hooleylist
Jun 22, 2011Cirrostratus
You could also simplify the regex slightly by removing the parens as you're not using the capture group anyhow.
set res [regexp {^[a-z0-9/+=]+$} $x]
Aaron
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