Cisco Cisco ASR 5700

Page of 8994
ACS Ruledef Configuration Mode Commands   
▀  rtsp uri 
 
 
▄  Command Line Interface Reference, StarOS Release 17 
1078 
   
Usage 
Use this command to define rule expressions to match URI in RTSP request. 
The following table lists the special characters that you can use in regex rule expressions. For more 
information on regex support, refer to the Enhanced Charging Service Administration Guide
Table 10.  Special Characters Supported in Regex Rule Expressions 
Regex Character
 
Description
 
Zero or more characters 
Zero or more repeated instances of the token preceding the + 
Match zero or one character 
Important:
  The CLI does not support configuring “?” directly, you must instead use 
“\077”. 
For example, if you want to match the string “xyz<any one character>pqr”, you must configure it as: 
http host regex “xyz\077pqr”
 
In another example, if you want to exactly match the string “url?resource=abc”, you must configure it as: 
http uri regex "url\\077resource=abc"
 
Where, the first “\” (backslash) is for the escaping of “?”, and then “\077” for specifying “?” to the CLI. 
\character 
Escaped character 
\? 
Match the question mark (\<ctrl-v>?) character 
\+ 
Match the plus character 
\* 
Match the asterisk character 
\a 
Match the Alert (ASCII 7) character 
\b 
Match the Backspace (ASCII 8) character 
\f 
Match the Form-feed (ASCII 12) character 
\n 
Match the New line (ASCII 10) character 
\r 
Match the Carriage return (ASCII 13) character 
\t 
Match the Tab (ASCII 9) character 
\v 
Match the Vertical tab (ASCII 11) character 
\0 
Match the Null (ASCII 0) character 
\\ 
Match the backslash character 
Bracketed range [0-
9] 
Match any single character from the range 
A leading ^ in a 
range 
Do not match any in the range. All other characters represent themselves. 
.\x## 
Any ASCII character as specified in two-digit hex notation. 
For example, \x5A yields a “Z”.