From ab88cc01a6598a34e47989fa13b8fcadab703419 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Tue, 11 Jan 2022 22:44:18 +0100 Subject: [PATCH] Fixed regexp for strings with double quotes --- src/regexps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regexps.py b/src/regexps.py index 3bcfe7d..928ee7e 100644 --- a/src/regexps.py +++ b/src/regexps.py @@ -53,5 +53,5 @@ re_decl = re.compile( "".join( [ r"^\ *", re_test = re.compile(r"\( *(.*)(\.[a-zA-Z]*\.|[<>]=?|[=/]=)([^=]*)\)") -re_string = re.compile(r"'.*?'") +re_string = re.compile(r"'.*?'|\".*?\"")