| Element | Purpose |
|---|---|
| %artist% | take the contents of the field %ARTIST% |
| $regexp | use a regular expression with the following parameters |
| %title% | take the contents of the field %TITLE% |
(.*) |
capture any amount of any characters into the first capture group |
\( |
until you reach an opening bracket which has to be escaped with \ as the brackets serve a special purpose otherwise |
(.*) |
capture any amount of any characters into the second capture group |
\) |
until you reach a closing bracket which has to be escaped with \ as the brackets serve a special purpose otherwise |
| $2 | output the contents of the second capture group |
| == | unique separators for the next, the "guessing" step - could be anything as long as they are unique |
| $1 | Output the contents of the first capture group. |
So Forward (Ft. James Blake) is transformed to (Ft. James Blake)==Forward
and in total the string in Source format now reads
Beyoncé (Ft. James Blake)==Forward
which then is guessed by the pattern %artist%==%title%


