ruby-osc icon indicating copy to clipboard operation
ruby-osc copied to clipboard

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

Open HuBandiT opened this issue 4 years ago • 0 comments

https://github.com/maca/ruby-osc/blob/3d9f6fb344b7aa9c028fff155febf72069fe89db/lib/ruby-osc/message.rb#L49

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

HuBandiT avatar Sep 21 '21 02:09 HuBandiT