[Gllug] VIM comment stripping
Alex Hudson
home at alexhudson.com
Fri Jan 4 12:41:42 UTC 2002
On Fri, 2002-01-04 at 12:25, Vincent AE Scott wrote:
> :%s/^>> //g
> i think
Don't know about vi, but in Perl I would express it as
s/^(?:\>|\s)+/\> /g;
.. which would work more generally, but would mess up any nesting that
exists.
Cheers,
Alex.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20020104/41105359/attachment.pgp>
More information about the GLLUG
mailing list