Subject: Re: Macro aborts even though regexp instance exists

From: Andreas Schwab <[email-masked]>
Date: Wed, 24 Oct 2012 18:00:44 +0200

Stefan Monnier <[email-masked]> writes:

> You can work around the problem in this particular case as follows:
> first do C-s M-r ONE\|TWO RET, and then record your macro using C-u C-s
> C-s to recall the last regexp used,

Another workaround is to put \( \) around it so that the regexp isn't
complete until the closing paren.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."