Skip to content

Commit

Permalink
Use both single or double quotes for names and quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinStrohalm committed May 13, 2022
1 parent 0f4ac44 commit 0442cc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyeds/eds/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 \)',
Expand Down

0 comments on commit 0442cc1

Please sign in to comment.