]> git.sesse.net Git - ccbs/blobdiff - parse/parse-wiki-songlist.pl
Make sure players are created before adding them to the rankings. Update test SQL.
[ccbs] / parse / parse-wiki-songlist.pl
index 3f1311839bb9cc2ea88b28584002956e174fa602..5a35d67a51fe69e711e7c038bbeb876b0a22ca5f 100644 (file)
@@ -10,7 +10,7 @@ while (<>) {
        m/
          \|   \s* \[\[ (.*?) \]\] \s*    # song name
           \|\| \s* \[\[ (.*?) \]\] \s*    # artist
-         \|\| \s*      (\d+(-\d+)?)  \s*    # bpm
+         \|\| \s*      (\d+(?:-(\d+))?)  \s*    # bpm
          \|\| \s*      (\d+)      \s*    # single beginner
          \|\| \s*      (\d+)      \s*    # single standard
          \|\| \s*      (\d+)      \s*    # single difficult