[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Simple regexp replace in not working
From: |
ld1976 |
Subject: |
Simple regexp replace in not working |
Date: |
Sun, 6 May 2012 08:06:00 -0700 (PDT) |
Hello all.
I have file with the following two lines (for example):
qp = ~masterp ;
qn = ~mastern ;
I want to change them to :
#0.05 qp = ~masterp ;
#0.05 qn = ~mastern ;
What that I do is enter the following regexp:
Replace regexp is: \([^ ]+[ ]+=\)
And the with field is: #0.05 \1
I get the following mess:
Qp = ~masterp #0.05 ;
qn = ~mastern ;
My version is 21.4.1, LINUX. File is attached.
http://old.nabble.com/file/p33763498/not_working.emacs not_working.emacs
--
View this message in context:
http://old.nabble.com/Simple-regexp-replace-in-not-working-tp33763498p33763498.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
- Simple regexp replace in not working,
ld1976 <=