AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Regex is not working properly in AkelPad 64-bit

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
maki



Joined: 20 Aug 2014
Posts: 47

PostPosted: Fri Aug 22, 2014 8:42 am    Post subject: Regex is not working properly in AkelPad 64-bit Reply with quote

Regex is not working properly in AkelPad 64-bit
Regex Enable


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


AkelPad replace Shocked Shocked Shocked Shocked Shocked Bad replace
$1$1$1$1$1


Last edited by maki on Sun Aug 24, 2014 2:40 am; edited 1 time in total
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1395
Location: Poland

PostPosted: Fri Aug 22, 2014 5:45 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
maki



Joined: 20 Aug 2014
Posts: 47

PostPosted: Sun Aug 24, 2014 2:44 am    Post subject: Reply with quote

NOT WORK !!!

Screen:




EmEditor
100% WORK

.+\\([^\\]+?)\\[^\\]+?\.jpg
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5399

PostPosted: Sun Aug 24, 2014 9:29 am    Post subject: Reply with quote

maki
Not reproduced on 4.9.0 dev.
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1395
Location: Poland

PostPosted: Sun Aug 24, 2014 11:31 am    Post subject: Reply with quote

maki
Probably, you have copied the regular expression with the trailing space.
Back to top
View user's profile Send private message
maki



Joined: 20 Aug 2014
Posts: 47

PostPosted: Fri Aug 29, 2014 2:29 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5399

PostPosted: Fri Aug 29, 2014 2:28 pm    Post subject: Reply with quote

maki
Test version available here (but only x86).
Back to top
View user's profile Send private message Send e-mail
maki



Joined: 20 Aug 2014
Posts: 47

PostPosted: Fri Sep 05, 2014 7:39 pm    Post subject: Reply with quote

100% BUG


because
other editor work


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

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group