Fix max/min-bpm-parsing so minbpm isn't negative.
authorSteinar H. Gunderson <sesse@samfundet.no>
Sun, 13 Feb 2005 16:50:07 +0000 (16:50 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sun, 13 Feb 2005 16:50:07 +0000 (16:50 +0000)
parse/parse-wiki-songlist.pl

index 3f13118..5a35d67 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