zafarkhaja/jsemver

LexerException in 'satisfies' method

Opened this issue · 1 comments

This is the code:

String version = "1.0.0";
String constraint = ">=1.0.0-SNAPSHOT";
Version.parse(version).satisfies(constraint)

For more context see pf4j/pf4j#440.

Unfortunately in this case it's an intended behavior, since pre-release versions are not currently supported by Range Expressions. I plan to change this behavior as part of #70, but a realistic ETA on this issue is the 4th quarter of the year.

Similar issues for your reference: #24, #54, #55, #72.