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

OSC::Message#decode: Parsing an empty string field raises exception #11

Open
HuBandiT opened this issue Sep 21, 2021 · 0 comments
Open

Comments

@HuBandiT
Copy link

HuBandiT commented Sep 21, 2021

str = scanner.scan(/[^\000]+\000/)

I think the regexp, instead of expecting at least one non-NUL character ([^\000]+) should allow zero characters ([^\000]*).

@HuBandiT HuBandiT changed the title OSC::Message#decode: Parsing an empty string field raises exception OSC::Message#decode: Parsing an empty string OSC field raises exception Sep 21, 2021
@HuBandiT HuBandiT changed the title OSC::Message#decode: Parsing an empty string OSC field raises exception OSC::Message#decode: Parsing an empty string field raises exception Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant