Page 1 of 1

Regex is not working properly in AkelPad 64-bit

Posted: Fri Aug 22, 2014 8:42 am
by maki
Regex is not working properly in AkelPad 64-bit
Regex Enable


REPLACE
"What" field: .+\\([^\\]+?)\\[^\\]+?\.jpg
"With" field : $1


AkelPad replace :shock: :shock: :shock: :shock: :shock: Bad replace
$1$1$1$1$1

Posted: Fri Aug 22, 2014 5:45 pm
by KDJ
maki
In AkelPad RegExp you should use \1 instead of $1.
Read documentation: ...\AkelPad\AkelFiles\Docs\AkelHelp-Eng.htm (Main menu -> Help -> Manual).
What: [^\n]+?\\([^\\]+?)\\[^\\]+?\.jpg
With: \1

Posted: Sun Aug 24, 2014 2:44 am
by maki
NOT WORK !!!

Screen:

Image


EmEditor
100% WORK

.+\\([^\\]+?)\\[^\\]+?\.jpg

Posted: Sun Aug 24, 2014 9:29 am
by Instructor
maki
Not reproduced on 4.9.0 dev.

Posted: Sun Aug 24, 2014 11:31 am
by KDJ
maki
Probably, you have copied the regular expression with the trailing space.

Posted: Fri Aug 29, 2014 2:29 am
by maki
KDJ - You're wrong, no spaces.
It does not work. I tested many Times! (4.8.9 64-bit)

http://akelpad.sourceforge.net/en/download.php (4.8.9)

4.9.0 dev
Link download?

Posted: Fri Aug 29, 2014 2:28 pm
by Instructor
maki
Test version available here (but only x86).

Posted: Fri Sep 05, 2014 7:39 pm
by maki
100% BUG


because
other editor work


What has changed - it is strange.. WTF? :x
The program goes crazy with larger files 408 MB (5000,000+ line)

Image