Cisco Cisco ASR 5000

Page of 9109
  ACS Ruledef Configuration Mode Commands 
wsp url  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
1219 
Regex Character
 
Description
 
Specify OR regular expression operator 
Important:
  When using the regex operator “|” in regex expressions, always wrap the 
string in double quotes. 
For example, if you want to match the string "pqr” OR “xyz”, you must configure it as: 
http host regex "pqr|xyz"
 
Example
 
The following command defines a rule expression to match user traffic based on WSP URL 
wsp://wiki.tcl.tk
wsp url = wsp://wiki.tcl.tk 
The following command defines a regex rule expression to match any of the following or similar values in the 
WSP URL string: wsp://home.opera.yahoo.com, wsp://dwld.yahoo.com, wsp://dwld2.yahoo.com. 
wsp url regex "wsp://(dwld|opera|home.opera|dwld[1-3]).yahoo.com"