The OSCAddressPatternTests
only check wildcard ranges from 0 to 9 and not beyond. However, thats not every possible case.
Example code:
OSCAddressPattern pattern ("/*/*put/slider[0-15]");
if (pattern.matches (OSCAddress ("/mypatch/input/slider10")))
DBG ("matches"); // it should!!
else
DBG ("not");
It should match, but it doesn’t. This example is basically the unittest code, but with [0-15]
instead of [0-9]
. Testing it with everything above 9 won’t match, but it should!