Checked the desktop entry spec, there's other field codes than `%[fFuU]` and those can in fact occur more than once, hence dropping '$' and adding `/g`.