AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AHK memory def issue w/ Regex ?? :: 818 alternate items bug

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Joy2DWorld



Joined: 04 Dec 2006
Posts: 404
Location: Galil, Israel

PostPosted: Sun Sep 23, 2007 2:59 pm    Post subject: AHK memory def issue w/ Regex ?? :: 818 alternate items bug Reply with quote

Code:
loop 1900
   a .= "10" . a_index . "-"
loop 819
   b .= "10" . a_index . "|"

stringtrimright b,b,1
msgbox % substr(regexreplace(a, "(" . b . ")" ),1,500)  "`n"  ErrorLevel


fails

while

Code:
loop 1900
   a .= "10" . a_index . "-"
loop 817
   b .= "10" . a_index . "|"

stringtrimright b,b,1
msgbox % substr(regexreplace(a, "(" . b . ")" ),1,500)  "`n"  ErrorLevel


doesn't.



ps: in using regex on formulas, have a few hundred thousand alts.
ps2: the memory limit seems total, ie. alts spread in different places in expressions count against total.
_________________
Joyce Jamce
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10464

PostPosted: Tue Nov 13, 2007 12:33 pm    Post subject: Reply with quote

When AutoHotkey is upgraded to the latest PCRE version, I'll see if this problem has been resolved. Thanks.
Back to top
View user's profile Send private message Send e-mail
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10464

PostPosted: Wed Nov 21, 2007 1:38 am    Post subject: Reply with quote

This issue appears to have been resolved sometime between PCRE 7.1 and 7.4, inclusive. The latest PCRE (7.4) will hopefully be included in the next release of AutoHotkey.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group