Edited 220d ago
regex
Do you know your regular expressions in Python? Do you know the unusual thing re.match() does? Or what soft deprecation is? I've written about the changes coming up in Python 3.15 to help clear things up a bit.
My Pano Scrobbler #regex is growing! These #radio stations. 🤦🏽
````regex
(?:(?:\s\(?\d{4}\)?)?(?:\s(?:\[|\()?\s?(?:album|(?:orig(?:inal)?\s)?lyrics?(?:\s?video)?|official\svideo|[dv]?cd)\s?(?:\]|\))?)?(?:\s?\[?(?:PCM|FLA?C|MP2)-?\]?)?(?:\.mp\d)?)
````
That's just the Title field.
#scrobbling
