English main discussion
Offline
Posts: 49 Joined: Wed Aug 20, 2014 5:51 am
Post
by maki » Fri Aug 22, 2014 8:42 am
Regex is not working properly in AkelPad 64-bit
Regex Enable
REPLACE
"What" field: .+\\([^\\]+?)\\[^\\]+?\.jpg
"With" field : $1
AkelPad replace
Bad replace
$1$1$1$1$1
Last edited by
maki on Sun Aug 24, 2014 2:40 am, edited 1 time in total.
Offline
Posts: 1949 Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland
Post
by KDJ » Fri Aug 22, 2014 5:45 pm
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
Offline
Posts: 49 Joined: Wed Aug 20, 2014 5:51 am
Post
by maki » Sun Aug 24, 2014 2:44 am
NOT WORK !!!
Screen:
EmEditor
100% WORK
.+\\([^\\]+?)\\[^\\]+?\.jpg
Offline
Site Admin
Posts: 6411 Joined: Thu Jul 06, 2006 7:20 am
Post
by Instructor » Sun Aug 24, 2014 9:29 am
maki
Not reproduced on 4.9.0 dev.
Offline
Posts: 1949 Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland
Post
by KDJ » Sun Aug 24, 2014 11:31 am
maki
Probably, you have copied the regular expression with the trailing space.
Offline
Site Admin
Posts: 6411 Joined: Thu Jul 06, 2006 7:20 am
Post
by Instructor » Fri Aug 29, 2014 2:28 pm
maki
Test version available
here (but only x86).
Offline
Posts: 49 Joined: Wed Aug 20, 2014 5:51 am
Post
by maki » Fri Sep 05, 2014 7:39 pm
100% BUG
because
other editor work
What has changed - it is strange.. WTF?
The program goes crazy with larger files 408 MB (5000,000+ line)