Regexp issue - List length limit? Can anyone reproduce/help?

cap10subtext's icon

Pretty self-explanitory. Regexp seems to drop something in the list and it's playing hell with the dicts in my patch.

Click the first message, all numbers print just fine. Click the second message, notice thresh throws two errors, print prints an empty space, and the number 35 is missing from the list.

Max Patch
Copy patch and select New From Clipboard in Max.

Total pain. Please help? Am I doing something wrong or is this a bug in regexp?

Ben Bracken's icon

I believe this is a limitation of the regexp object. FWIW, I don't think javascript regexp has this limitation.

Max Patch
Copy patch and select New From Clipboard in Max.

I would break things up a bit, and stay away from thresh. In the case of the posted patch, I would do something like this:

cap10subtext's icon

Thanks, Ben, sorry not to reply sooner.

Will try out the work around. Any way this could be fixed in future versions? Worth submitting a bug report?

Ben Bracken's icon

I believe that for Max 6.0.4, the limit was upped and a crash was fixed. Let me know if you are seeing any weirdness.

Thanks,
-Ben