[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Yanking regular expression to regular expression search minibuffer or to
From: |
glen . d . scott |
Subject: |
Yanking regular expression to regular expression search minibuffer or to regular expression search / replace minibuffer |
Date: |
Wed, 20 May 2009 16:41:00 -0700 (PDT) |
User-agent: |
G2/1.0 |
I have tried to yank to a regular expression search replace
minibuffer, and also to a regular expression search minibuffer with M-
y, but am not meeting with success.
When I yank the text:
[^A-Z0-9_]
to a regular expression search minibuffer with the shortcut M-y, the
text that is placed in the minibuffer to search for is the text:
\[\^A-Z0-9_]
(note the leading \ characters before the [ and before the ^
characters)
When I try to yank the same regexp to the search replace
minibuffer, I get an error:
Previous command was not a yank
and the text does not get yanked into the minibuffer at all.
What is the way to yank a regular expression into the regular
expression search minibuffer, or even better, into the search /
replace minibuffer?
Thanks,
Glen Scott
- Yanking regular expression to regular expression search minibuffer or to regular expression search / replace minibuffer,
glen . d . scott <=