On 02.08.07 11:30, Enrico Popp wrote: > I have an problem with regular expression in squidGuard. I'm using the > following regex > > s@http://www.main.example.org/(.+)@http://www.example.org@r where did you get the regex? > Now the problem consists that http://example.org contain no querystring > after this rewrite. s@http://www.main.example.org/@http://www.example.org/@r should work, but I'm not sure what does the 'r' modifier do... something squidguard-ish ? > Could you please help me to understand this regular > expression. man perlre should help you -- Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. I just got lost in thought. It was unfamiliar territory.