The pattern-analysis tokenizer split names only on underscore first, then on dash. A key like "name_done:<uuid>" left the colon glued to the leading hex group, so the trailing UUID was never recognised as a single token and instead shredded on dash into short hex anchors. The derived template kept those anchors fixed, producing a distinct glob per UUID and preventing any merge. Treat colon and dot as primary separators alongside underscore so the embedded UUID is isolated, matched by isUUIDShape, and collapsed to a wildcard. Extend templateHasFixedAnchor to ignore the new separators so a separator-only template stays rejected by the anti-overmerge guard. Signed-off-by: Émile Ré <emile@probo.com>
24 KiB
24 KiB