Skip to content

Commit

Permalink
fromfilename: Swap regex lines as suggested in beetbox#4561
Browse files Browse the repository at this point in the history
  • Loading branch information
JOJ0 committed Dec 22, 2022
1 parent 87a6d01 commit 73f8b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beetsplug/fromfilename.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
r'^(?P<track>\d+)[\s.\-_]+(?P<artist>.+)[\-_](?P<title>.+)[\-_](?P<tag>.*)$',
r'^(?P<artist>.+)[\-_](?P<title>.+)$',
r'^(?P<track>\d+)[\s.\-_]+(?P<artist>.+)[\-_](?P<title>.+)$',
r'^(?P<title>.+)$',
r'^(?P<track>\d+)[\s.\-_]+(?P<title>.+)$',
r'^(?P<title>.+)$',
r'^(?P<track>\d+)\s+(?P<title>.+)$',
r'^(?P<title>.+) by (?P<artist>.+)$',
r'^(?P<track>\d+).*$',
Expand Down

0 comments on commit 73f8b6f

Please sign in to comment.