Forums > MaxMSP

simple regexp problem. what am i forgetting?

September 2, 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
September 3, 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. –

September 4, 2011 | 4:33 pm

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


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