On Wed, Mar 23, 2005 at 01:14:14AM +0100, Martin Quinson wrote:
On Wed, Mar 23, 2005 at 12:55:24AM +0100, Nicolas François wrote:
> I fact, I'm not really concerned by tabs at the beginning of lines, but in
> their middle.
If so, you can move the s/\t/ / before the s/\n/ / and change it to a
s/\n\t+/ /. It will do the trick for Jordi's xml document, and may make
your life easier.
I tried with 's/^[ \t]+/ /gm;' (still before the 's/\n/ /gm') and only
the sane-avision page was changed (its usage of a tab is anyway buggy).
Jordi, would this patch be sufficient for you?
--
Nekral