Closed cabo closed 6 years ago
Interesting, thanks for the report... I'll take a look into this ASAP. At a guess, I suspect it's got something to do with the max_results feature that was added to v1.2.0
of the gem.
Writing tests to prevent such a regression is tricky (I fixed a more subtle issue back in v1.1.3
), but I'll have think about how to improve the suite.
Sorry it took me absolutely ages to get round to fixing this... The project's not dead; I'm just a busy guy 😅
Gem version v1.4.3
is now released with the fix; thanks again for the report 😄
The CDDL tool uses regex-examples as part of its instance-example generation.
A typical regex might turn up in the CDDL expression
A while ago, the CDDL tool generated
from that. Now I get instances such as
Obviously, this is less satisfying as a set of examples.
Any reason why the entropy vanishes at the end of the RE?
(The same is true with
except that in this case the upper case wins:
)