Robert_47833
Apr 19, 2011Altostratus
question about :matches_regex
Hi,met trouble in matches_regex now
difference in expressions below
set uri [HTTP::path]
{$uri matches_regex "^/(cjj)"} { pool cjj01-BRO }
{$uri matches_regex "^/cjj"} { pool cjj01-WSE }
If I wanna visit http://10.1.1.1/cjjtext&hh1 so the &uri should be cjjtext&hh1
1:Will this uri match ^/cjj or another one
2:which uri will match "^/(cjj)" ,actually I don't understand the () here
Can someone help me in this issue