From: Erick C. <e...@ar...> - 2002-08-30 04:15:17
|
that url has the following line: <BODY aLink="#000000" bgColor="" link="#000000" text="#000080" vLink="#000000" background="" > the expression: s/(<body\s+[^>]*)vlink/$1foo/si produces: <BODY aLink="#000000" bgColor="" link="#000000" text="#000080" foo="#000000" background="" > so I'm not sure what you mean by "not work"...? -----Original Message----- From: ijb...@li... [mailto:ijb...@li...]On Behalf Of David Hemmer Sent: Thursday, August 29, 2002 8:49 AM To: ijbswa-users Subject: Re: [privoxy-users] Problem regulaere Ausdruecke 28.08.2002 20:01:52, Andreas Oesterhelt <oe...@oe...> wrote: thanx for answer. >> It doesn't work here - I tried this URL first (Privoxy was restarted): >> http://www.forumromanum.de/member/forum/forum.cgi?USER=user_3155 > >> I also tried >> s/\s?vlink=/\slinkv=/i > >Even if the above two were fixed, they would still overachieve by >matching even outside of <body> tags. Could you tell me, what to fix - just for testing? >Short and OK for 99% of the cases: > >s/(<body\s+[^>]*)vlink/$1foo/si Did you try this with the above URL? It doesn't work here. -davidoff ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Ijbswa-users mailing list Ijb...@li... https://lists.sourceforge.net/lists/listinfo/ijbswa-users |