Files
romm/backend/handler/filesystem
Henrique Reis Neves 34117694ac fix(scan): read revision tags written without a separator (#5559)
GoodTools sets name a revision with no space or dash after "Rev", as in
"Sonic The Hedgehog (W) (REV01) [!].gen". REVISION_TAG_REGEX required a
separator, so "(REV01)" and "(Rev1)" left the revision empty and landed
in the free-form tags instead.

The regex now also takes "Rev" followed directly by a digit. A letter
right after "Rev" still does not count, so tags such as "(Revenge)" and
"(RevB)" stay plain tags.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:25:52 -05:00
..