From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: August Newsgroups: gmane.emacs.help Subject: Re: Help with query-replace-regexp Date: Sun, 30 Jan 2005 16:00:09 +0100 Message-ID: <1107097209.5311.13.camel@c83-250-201-122.bredband.comhem.se> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1107098124 8934 80.91.229.6 (30 Jan 2005 15:15:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Jan 2005 15:15:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 30 16:15:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CvGnH-0008H4-00 for ; Sun, 30 Jan 2005 16:15:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvGzw-0001rf-WD for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Jan 2005 10:28:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CvGwP-0000wZ-H0 for help-gnu-emacs@gnu.org; Sun, 30 Jan 2005 10:24:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CvGwL-0000ul-Pc for help-gnu-emacs@gnu.org; Sun, 30 Jan 2005 10:24:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvGwJ-0000nY-Na for help-gnu-emacs@gnu.org; Sun, 30 Jan 2005 10:24:40 -0500 Original-Received: from [81.228.11.110] (helo=av3-2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CvGYA-0004bs-OQ for help-gnu-emacs@gnu.org; Sun, 30 Jan 2005 09:59:43 -0500 Original-Received: by av3-2-sn1.fre.skanova.net (Postfix, from userid 502) id 273BB37E64; Sun, 30 Jan 2005 15:59:40 +0100 (CET) Original-Received: from smtp2-2-sn2.hy.skanova.net (smtp2-2-sn2.hy.skanova.net [81.228.8.178]) by av3-2-sn1.fre.skanova.net (Postfix) with ESMTP id 163B137E42 for ; Sun, 30 Jan 2005 15:59:40 +0100 (CET) Original-Received: from c83-250-201-122.bredband.comhem.se (c83-250-201-122.bredband.comhem.se [83.250.201.122]) by smtp2-2-sn2.hy.skanova.net (Postfix) with ESMTP id F1AE137E48 for ; Sun, 30 Jan 2005 15:59:39 +0100 (CET) Original-To: help-gnu-emacs@gnu.org In-Reply-To: X-Mailer: Evolution 2.0.2 (2.0.2-3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23754 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23754 On s=C3=B6n, 2005-01-30 at 12:47 +0100, Michael Preminger wrote: > Id like to replace a nonspace followed by a space, with the same=20 > nonspace followed by a comma. >=20 >=20 > how do I express it in a query-replace-regexp command? >=20 > Thanks >=20 > Michael >=20 > _______________________________________________ > 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). --=20 August