[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with query-replace-regexp
From: |
martin |
Subject: |
Re: Help with query-replace-regexp |
Date: |
Sun, 30 Jan 2005 13:16:33 +0100 |
User-agent: |
Emacs Gnus |
"MP" == Michael Preminger <michaelp@hio.no> writes:
MP> Newsgroups: gnu.emacs.help
MP> Date: Sun, 30 Jan 2005 12:47:26 +0100
MP> Organization: UNINETT
MP>
MP> Id like to replace a nonspace followed by a space, with the same
MP> nonspace followed by a comma.
MP>
MP>
MP> how do I express it in a query-replace-regexp command?
M-: (query-replace-regexp "\\([^ ]\\) " "\\1," nil nil nil) RET
MP>
MP> Thanks
MP>
MP> Michael
MP>
MP>
--
parozusa at web dot de