Community
Participate
Working Groups
The value returned by toString() is incorrect for some version formats. For example: VersionFormat.compile("n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];]]]").toString() will produce the string: "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-]]]])" (note the missing semicolon after the character range).
Created attachment 125517 [details] Patch that adds a test that provokes the problem This patch adds a couple of tests to the CommonPatternsTest class (present in the OmniVersion test suite) that will provoke the bug.
Created attachment 125518 [details] Patch that fixes the VersionFormat.toString() This patch corrects the problems with VersionFormat.toString()
Assigning this back to equinox.p2-inbox so that someone can commit the changes.
I assume the creation of file 1231867627946.profile in the patch from comment #1 was unintentional?
Oops. Yes, that was unintentional.
I'll take this to review/release.
Thanks Thomas, released to HEAD.