[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: query replace regex
From: |
james |
Subject: |
Re: query replace regex |
Date: |
21 Feb 2007 11:23:55 -0800 |
User-agent: |
G2/1.0 |
On Feb 21, 12:58 pm, Gary Wessle <phd...@yahoo.com> wrote:
> Hi
> I need to replace
> 452452451 1.4445 1.4254
> with
> 452452451 1 1
>
> so I started by search regex to find if I can get the regex correct.
> ^\\d* \\d\\.\\d* \\d\\.\\d*$
> is reporting fail as soon as I type the second "\" in the line.
>
> how can I do this task?
>
> many thanks
There is no \d in emacs regexen. Use [0-9] instead.