Forums > MaxMSP

simple regexp problem. what am i forgetting?


Sep 02 2011 | 11:32 pm

i can’t get this simple regexp thing to work, it’s part of a more complicated expression. i used to understand how greedy/lazy stuff is related, but why isn’t this working. thanks for any help.


-- Pasted Max Patch, click to expand. --


yp
Sep 03 2011 | 9:36 pm

The ? after (TEST) shouldn’t be there. I would use rather | as in the following patch.

cheers,
yp


-- Pasted Max Patch, click to expand. --

Sep 04 2011 | 4:33 pm

thanks! didn’t even think about using the "or" like that.

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

Forums > MaxMSP