Cisco Cisco ASR 5000
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
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 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"