EmEditor (text editor) Forum Index
   EmEditor Core Bug Reports
     Find/Replace: Multiple replaces needed when using Replace All
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Deipotent
Posted on: 10/13/2011 2:57 pm
Just can't stay away
Joined: 2/15/2008
From:
Posts: 122
Find/Replace: Multiple replaces needed when using Replace All
If you have a line with the text:

10,6,3,12


and do a regex Find for

,(\d),


and replace with

,0\1,


you have to do Replace All twice. The first time will result in

10,06,3,12


The second pass changes ",3," to ",03,".

Why is the ",3," not done in the first pass ?

Is this a bug ?
Flat Previous Topic | Next Topic


Subject Poster Date
 » Find/Replace: Multiple replaces needed when using Replace All Deipotent 10/13/2011 2:57 pm
     Re: Find/Replace: Multiple replaces needed when using Replace All Stefan 10/14/2011 12:01 am
       Re: Find/Replace: Multiple replaces needed when using Replace All Deipotent 10/14/2011 4:03 pm

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文