https://bugs.kde.org/show_bug.cgi?id=507221
--- Comment #1 from Urs Fleisch ---
If you use simple format codes such as "%{tracknumber}%{title}", Kid3 will try
to create a regular expression from it which should work in most cases. In this
case, the regular expression would be "([A-Za-z]?\d+[A-Za-z]?)([^-_\./
](?:[^/]*[^-_/ ])?)", which looks a bit complicated, but as I said, is thought
to catch most cases, for the track number, also "vinyl numbers" such as "1A"
would be supported. Unfortunately, your case is a bit special and not covered
by this general regular expression (and frankly, having no separator is a bit
weird because there might be tracks where the title starts with a digit and the
track number has more than one digit, so if you want to avoid spaces in your
file names I would rather replace them by underscores then removing them). For
special cases like yours, you can set the regular expression yourself, the
corresponding paragraph in the handbook starts with "Internally, a regular
expression". Thus, in your case, you could use the format
"%{track}(\d+)%{title}([^/]+)"
, which will yield the expected results.
--
You are receiving this mail because:
You are watching all bug changes.