From 0442cc13eb15e0b36e7cf84751008afbbe047ab3 Mon Sep 17 00:00:00 2001 From: Martin Strohalm Date: Fri, 13 May 2022 12:30:15 +0200 Subject: [PATCH] Use both single or double quotes for names and quotes --- pyeds/eds/query.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyeds/eds/query.py b/pyeds/eds/query.py index 52b5ac2..dcd9667 100644 --- a/pyeds/eds/query.py +++ b/pyeds/eds/query.py @@ -12,8 +12,8 @@ column = '[A-Za-z0-9_]+', name = '\" [A-Za-z0-9-_\.\s\[\]\+\-]+ \" | \' [A-Za-z0-9-_\.\s\[\]\+\-]+ \'', - val = '[A-Za-z0-9-_\.%]+', - quote = '\' [A-Za-z0-9-_%\.\s\[\]\+\-]* \'', + val = '[A-Za-z0-9-_%\.]+', + quote = '\" [A-Za-z0-9-_%\.\s\[\]\+\-]* \" | \' [A-Za-z0-9-_%\.\s\[\]\+\-]* \'', seq = 'val , seq | quote , seq | val , val | val , quote | val , | val | quote , val | quote , quote | quote , | quote', inside = 'IN \( seq \) | NOT IN \( seq \)',