Home » Questions » Computers [ Ask a new question ]

Activating Emacs' kill-ring in Regex-builder

Activating Emacs' kill-ring in Regex-builder

How can you activate Emacs' kill-ring in Regex-builder?

Asked by: Guest | Views: 231
Total answers/comments: 1
Guest [Entry]

"I think the problem you are having is that C-c C-w copies the quoted regular expression and query-replace-regexp seems to only like raw regex.

For example

C-M-% ""[a-z]+"" RET test RET

does not work, but

C-M-% [a-z]+ RET test RET

does work.

I do not know what you are refering to when with the ! key; have you got the reference material that you are working to?

You will see the same problem defined here on StackOverflow with some ideas to solve the problem. Including a reference to re-builder+ which apparantly has some features which make it play nice with query-replace-regexp and the likes."