hi,
im searcing on large html files.
i want to find the start and end tags and then do some
substitutions on that and at the same time do substiontions
on anything else that doesn't match the start and end tags.
i was thinking maybe to use the /e switch but cant get it to work.
# first match
On Sun, 21 Apr 2002 16:08:44 +0800, allan wrote:
>s/(>.+?<\/pre>)|(.*?)/&onesub($1)||&anothersub($2)/igesms;
^^
Perhaps this is part of your problem.
Anyway, the syntax you're looking for, is IMO more like
s/(.+?<\/pre>)|(.*?)(?=