Bootleg perfomance (release) date taggerscript

In lieu of structured bootleg performance dates, is this an ideal method to set %date% to the bootleg date from the release title (e.g. 1996-07-25: Cicero’s, St. Louis, MO, USA)?

$if($and($not(%date%),$rsearch(%album%,^[0-9]{4}-[0-9]{2}-[0-9]{2}:)),$set(date,$left(%album%,10)))

Thanks!

I would leave it blank if I don’t know.

Certainly as the release date in mb, but for my files I’d rather use the performance date than nothing (or the tagging date–picard default).

Yes - but you would have to be certain that the performance date is in the release title. It could be in a disambiguation, or recording metadata.

But if you only want to deal with the specific case matched by the regex, this should work.

And the default for %date% isn’t (AFAIK) the tagging date.