Browse Source

base-fret can be any number greater than 1 (included)

pull/79/head
Oliverpool 9 years ago
parent
commit
429442ad6f
  1. 2
      patacrep/songs/chordpro/syntax.py

2
patacrep/songs/chordpro/syntax.py

@ -111,7 +111,7 @@ class ChordproParser(Parser):
r""" r"""
^ ^
(?P<key>[^\ ]*)\ * (?P<key>[^\ ]*)\ *
(base-fret\ *(?P<basefret>[2-9]))?\ * (base-fret\ *(?P<basefret>[1-9]\d*))?\ *
frets\ *(?P<frets>((\d+|x|X)\ *)+)\ * frets\ *(?P<frets>((\d+|x|X)\ *)+)\ *
(fingers\ *(?P<fingers>(([0-4-])\ *)*))? (fingers\ *(?P<fingers>(([0-4-])\ *)*))?
$ $

Loading…
Cancel
Save