diff load_db.py @ 7:b722161a845a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/query_tabular commit a4b0969b33a68a0ea9ba12291f6694aec24f13ed
author iuc
date Tue, 30 Oct 2018 20:20:21 -0400
parents 150765965caa
children 4678715f7147
line wrap: on
line diff
--- a/load_db.py	Fri Oct 05 09:40:49 2018 -0400
+++ b/load_db.py	Tue Oct 30 20:20:21 2018 -0400
@@ -142,13 +142,13 @@
         return None
     elif name.upper() in SQLITE_KEYWORDS:
         valid_name = '"%s"' % name
-    elif re.match('^[a-zA-Z]\w*$', name):
+    elif re.match(r'^[a-zA-Z]\w*$', name):
         pass
-    elif re.match('^"[^"]+"$', name):
+    elif re.match(r'^"[^"]+"$', name):
         pass
-    elif re.match('^\[[^\[\]]*\]$', name):
+    elif re.match(r'^\[[^\[\]]*\]$', name):
         pass
-    elif re.match("^`[^`]+`$", name):
+    elif re.match(r"^`[^`]+`$", name):
         pass
     elif name.find('"') < 0:
         valid_name = '"%s"' % name