unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: upro <upro@gmx.net>
Subject: Re: regex question
Date: Mon, 19 May 2003 19:20:39 +0200	[thread overview]
Message-ID: <87ptmesviw.fsf@gmx.net> (raw)
In-Reply-To: baav7q$491$1@terra.news.tehnicom.net

Danilo Segan <danilo@kvota.net> writes:

> upro wrote:
>> This might be a stupid question:
>> I want to use M-x replace-regexp like this
>> s/[a-z]''/$1"/g
>>
> What are you, a Perl guy? :-)
>
> Better try:
> s/\([a-z]\)''/\1"/g

Got me - I'm a Perl guy...

I apparently forgot to backslash the parentheses....

Thanks a lot, Michael

>
> Cheers,
> Danilo
>

-- 
Michael

r-znvy: zvpunry.wryqra  jro.qr (chg gur "@" jurer vg svgf...)
ab fcnz cyrnfr

  reply	other threads:[~2003-05-19 17:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-19 14:21 regex question upro
2003-05-19 15:52 ` Danilo Segan
2003-05-19 17:20   ` upro [this message]
2003-05-19 16:18 ` Jesper Harder
2003-05-19 16:26 ` Kai Großjohann
2003-05-19 19:07 ` Barry Margolin
  -- strict thread matches above, loose matches on Subject: below --
2007-09-02 17:11 Dave Pawson
2007-09-02 18:31 ` Peter Dyballa
     [not found] <mailman.176.1188753116.18990.help-gnu-emacs@gnu.org>
2007-09-02 18:30 ` Tassilo Horn
2007-09-03  6:52   ` Dave Pawson
2007-09-02 18:44 ` Harald Hanche-Olsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ptmesviw.fsf@gmx.net \
    --to=upro@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).