|
From: | Andreas Röhler |
Subject: | Re: Replace regexp question |
Date: | Sat, 08 Jun 2013 14:39:10 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
Am 08.06.2013 08:11, schrieb Leandro Marcolino:
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?..
\(a+\) Cheers, Andreas
[Prev in Thread] | Current Thread | [Next in Thread] |