Closes: https://github.com/alsa-project/alsa-python/pull/15
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
# + Group(("(" + args + Optional("...") + ")") | "{")
# common asoundlib parser
-snd_ = Regex("snd_[\w_]+")
-SND_ = Regex("SND_[\w_]+")
+snd_ = Regex("snd_[\\w_]+")
+SND_ = Regex("SND_[\\w_]+")
# pyalsa/alsaseq.c parser
-alsaseq_SEQ = Regex("SEQ_[\w_]+")
+alsaseq_SEQ = Regex('SEQ_[\\w_]+')
alsaseq_Constant = \
"TCONSTADD(module," + alsaseq_SEQ + "," + quotedString + "," + alsaseq_SEQ
alsaseq_typedef = \