Joy2DWorld
Joined: 04 Dec 2006 Posts: 404 Location: Galil, Israel
|
Posted: Sun Sep 23, 2007 2:59 pm Post subject: AHK memory def issue w/ Regex ?? :: 818 alternate items bug |
|
|
| 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 |
|