[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Replace regexp question
From: |
Leandro Marcolino |
Subject: |
Replace regexp question |
Date: |
Fri, 7 Jun 2013 23:11:24 -0700 (PDT) |
Hello, all!..
I am trying to add text after multiple occurrences of a group, but it is not
working. For example, if I try to change the following: "aaaaaa" to
"aaaaaab", I end up with "ab"...
I am looking for the regexp: \(a\)+ and I replace by \1b. But then the
sequence of a's is reduced to a single "a". How can I make the final text
have the same number of occurrences of the group as the original text?..
Thank you very much for your help!..
Regards,
Leandro
--
View this message in context:
http://emacs.1067599.n5.nabble.com/Replace-regexp-question-tp288179.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
- Replace regexp question,
Leandro Marcolino <=