Forum Discussion
Joe_Erchul_4263
Nimbostratus
Nov 16, 2015Search a URI for ~ followed by a number?
Gang,
Running 11.5.3 on my LTMs, and I'm trying to find an iRule that will block access to any URI that begins with "/this_is_where_I_start/", then contains "~any_number" within the URI. For in...
nitass
Employee
Nov 16, 2015is scan useful?
e.g.
% set u1 /this_is_where_I_start/lots_of_directories/filename~1.fileextension
/this_is_where_I_start/lots_of_directories/filename~1.fileextension
%
% set u2 /this_is_where_I_start/lots_of_directories/filename.fileextension
/this_is_where_I_start/lots_of_directories/filename.fileextension
%
% scan $u1 {%*[^~]~%d} num1
1
% put $num1
1
%
% scan $u2 {%*[^~]~%d} num2
0
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