help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to insert a string every 2 characters


From: tomas
Subject: Re: How to insert a string every 2 characters
Date: Sat, 22 Aug 2015 19:03:10 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Aug 22, 2015 at 03:58:05PM +0100, Angus Comber wrote:
> That didn't work quite how I wanted.  It just replaces 2 characters with a
> space.  But I I did like this:
> 
> c-m-% \(..\)
> 
> and replace with \1
> 
> with a space after \1 that works.

Gaah. Excuse my brain fart. I wanted to put \& where I put the right two
dots. Your solution works fine as well, of course.

Sorry. Dunno. Lack of sleep or something.

- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEUEARECAAYFAlXYq00ACgkQBcgs9XrR2kYfHgCZATi61xTwg4HCnQGAYRx6lEIj
Yz0AljzpoU0EMFzoZDSwaeQYiPu3aF0=
=kNUj
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]