With the help of this forum (and some useful online regex resources) I've been trying to automate my renaming of song titles. What I have is:
Field:
TITLE
Regular expression:
(.+)\s\((.+)\)
Replace matches with:
$1 [$lower($2)]
I'm basically trying to replace any parentheses with square brackets, and also change the case of what's inside these parens, so that: Outlaw Blues (Take 1, Complete)
becomes Outlaw Blues [take 1, complete]
Unfortunately, MP3tag renames it: Outlaw Blues [take 1]. I can't see any reason why it ignores the stuff after the comma, my expression seems sound (checked with RegExr). I'm thinking this is a bug, or am I missing something?
How does that work when \L is supposed to represent a non-lower case character?
The bug in the function seems to be the order of evaluation of commas. It seems to be backward and the text following the comma is interpreted as a bad parameter.