here is a short example based on libbinutils from 26.04:
package A:
/foo/bar/libopcodes-2.45.50-system.20251212.so
package B:
/foo/bar/libopcodes-2.45.50-arm64.so
we would like to glob the version (2.45.50) and the date string (20251212). the following globs cause conflict:
package A:
/foo/bar/libopcodes-*-system.*.so
package B:
/foo/bar/libopcodes-*-arm64.so
error: slices <slice-in-package-A> and <slice-in-package-B> conflict on /foo/bar/libopcodes-*-amd64.so and /foo/bar/libopcodes-*-system.*.so
when translating the globs to regex we get libopcodes[^\/]*-system\.[^\/]*\.so which matches only the intended expression: https://regex101.com/r/pYWots/1
here is a short example based on
libbinutilsfrom 26.04:we would like to glob the version (
2.45.50) and the date string (20251212). the following globs cause conflict:when translating the globs to regex we get
libopcodes[^\/]*-system\.[^\/]*\.sowhich matches only the intended expression: https://regex101.com/r/pYWots/1libbinutilsissue inchisel_releases: feat(26.04): changebinutilspaths to devel pattern chisel-releases#776