From 55ac62ceba74b4e980558d8a6db0ad8bca962134 Mon Sep 17 00:00:00 2001 From: Bela Date: Wed, 30 May 2018 19:03:29 +0200 Subject: [PATCH] fix in regexp matching conditions --- constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants.py b/constants.py index 2115602..4ce1a16 100644 --- a/constants.py +++ b/constants.py @@ -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