ludo@gnu.org (Ludovic Courtès) writes: > Mathieu Lirzin skribis: > >> I had the same issue when trying to create a package named >> 'rxvt-unicode-256-color'. I have tried to fix >> ‘package-name->name+version’ by matching the last hyphen and check if >> the next character is a number. > > Sounds like a reasonable approach (better than what I submitted), but we > would need test for the various corner cases. Could you augment the > test that’s in tests/utils.scm? The test case contains the example "guile-2.0.6.65-134c9" which invalidates my proposal. Here is another idea which identifies the version part by the presence of dots. WDYT? -- Mathieu Lirzin