Forums > MaxMSP

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

January 6, 2012 | 8:50 pm

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.

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

— Pasted Max Patch, click to expand. —
January 6, 2012 | 10:37 pm

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

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:

— Pasted Max Patch, click to expand. —
February 22, 2012 | 6:03 pm

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?

February 22, 2012 | 6:14 pm

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.


Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP