Forum Discussion
TMaCEvans_92750
Aug 16, 2011Nimbostratus
converting regex to irule
i'm wondering if its possible to carry out the below rules below in an irule?
article page: match url="^([A-Za-z\-]+)/([A-Za-z\-0-9.]+)/([0-9]+)(/)" url="Full_Article.aspx?art_id={R:3}"
...
hooleylist
Aug 16, 2011Cirrostratus
Can you give a few sample strings for each case? We should be able to adapt this to iRule code using scan or string commands instead of regexes for better performance.
http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1086476/iRules-10118Revisiting-the-TCL-Scan-Command.aspx
http://www.tcl.tk/man/tcl8.4/TclCmd/scan.htm
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