Browse Source

Escape ] in regexp

pull/175/head
Oliverpool 9 years ago
parent
commit
ba802a79fb
  1. 2
      patacrep/songs/chordpro/lexer.py

2
patacrep/songs/chordpro/lexer.py

@ -101,7 +101,7 @@ class ChordProLexer:
@staticmethod
def t_WORD(token):
r'[^{}\r\n\][\t ]+'
r'[^{}\r\n\]\[\t ]+'
return token
def t_LBRACKET(self, __token):

Loading…
Cancel
Save