help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regex question


From: upro
Subject: Re: regex question
Date: Mon, 19 May 2003 19:20:39 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]