diff --git a/kivy/lang/parser.py b/kivy/lang/parser.py index de885ec84..0aee7d24f 100755 --- a/kivy/lang/parser.py +++ b/kivy/lang/parser.py @@ -34,7 +34,11 @@ Cache.register('kv.lang') __KV_INCLUDES__ = [] # precompile regexp expression -lang_str = re.compile('([\'"][^\'"]*[\'"])') +lang_str = re.compile( + "((?:'''.*?''')|" + "(?:(?:(?