[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with query-replace-regexp
From: |
August |
Subject: |
Re: Help with query-replace-regexp |
Date: |
Sun, 30 Jan 2005 16:00:09 +0100 |
On sön, 2005-01-30 at 12:47 +0100, Michael Preminger wrote:
> Id like to replace a nonspace followed by a space, with the same
> nonspace followed by a comma.
>
>
> how do I express it in a query-replace-regexp command?
>
> Thanks
>
> Michael
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
Interactively, enter `\([[:graph:]]\) ' as the regular expression to
search for and `\1,' as the replacement string (you should of course
omit the quotation marks).
--
August