fix in regexp matching conditions

This commit is contained in:
Bela 2018-05-30 19:03:29 +02:00
parent 885bf35882
commit 55ac62ceba

View file

@ -112,7 +112,7 @@ class MobileRegex():
info in ["Question", "Default", "Choice"] or
# info in [scls.__name__ for scls in
# commands.Command.__subclasses__()] or
re.match(r"[^" + SUBINFO_SEP + r"]" +
re.match(r"[^" + SUBINFO_SEP + r"]*" +
SUBINFO_SEP + r"If.*", info))
# If clauses for commands