Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern matching at end of address not working correctly #126

Open
h4yn0nnym0u5e opened this issue Dec 5, 2021 · 0 comments
Open

Pattern matching at end of address not working correctly #126

h4yn0nnym0u5e opened this issue Dec 5, 2021 · 0 comments
Assignees
Labels

Comments

@h4yn0nnym0u5e
Copy link
Contributor

h4yn0nnym0u5e commented Dec 5, 2021

Possibly I'm missing / misunderstanding something, but if I have a message with the address /teensy1/audio/waveform1/b, and I execute msg.fullMatch("/b*",24) [to save you counting, it's therefore starting the match at the final /b], I'd expect to get TRUE as a result, because the * is supposed to match "any sequence of zero or more characters" - in this case zero. But I'm getting FALSE... If the address is /teensy1/audio/waveform1/be it matches OK.

Using the de8cf4b gihub commit of CNMAT/OSC, Teensy 4.1, Arduino 1.8.15, Teensyduino 1.56 beta 3.

@adrianfreed adrianfreed self-assigned this May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants