Forum Discussion
Aurel
Cirrus
Oct 23, 2013Irule and regex inspired from apache like regex
Hi,
I'm migrating a reverse proxy apache conf to BigIP. I had powerful line that matches 192 urls cases. The issue is that the best i've found until now, is really not convenient at all with Big...
Kevin_Stewart
Employee
Oct 23, 2013I don't think a lookahead/back reference will work with matches_regex, but this will:
if { [regexp {^/A(B|C)DEF/test-(10|20|30|40|50|60)/(one|two|three|four|five|six|seven|eight)/(2013|2014)/(.)} $uri all a b c d e] == 1 } {
log local0. "http://webserver_name-${b}-A${a}DEF/${d}/${e}"
}
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