Forum Discussion
Anonymous
Feb 01, 2016how to match "\w" with -glob to avoid using -regexp
Hi team,
I need help with iRule to filter URLs.
I want to match:
/some/path/only_words-XXX or /some/path/only_words-XXXX (and everything below)
XXX and XXXX are numbers (length 3 or 4), "only_w...
Anonymous
Feb 01, 2016I'm using now:
"/some/path/*-[0-9][0-9][0-9]/*" - "/some/path/*-[0-9][0-9][0-9][0-9]/*" {}
but as you said it will match other unwanted things.
I was wondering if I can do something like:
/some/path/[a-zA-Z*]-[0-9][0-9][0-9]/* - /some/path/[a-zA-Z*]-[0-9][0-9][0-9][0-9]/* {}
to limit the 1st match to only word characters, any number of hits.
Anonymous
Feb 01, 2016I see..
Thanks for confirming.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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