From 8c2cda75e50637728c2c7bcea1200a9463bc8ad8 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Fri, 15 Jun 2018 17:24:55 +0200 Subject: [PATCH] Allow more punctuation signs in the parsers: dollar and percent. For some reasons some people might use those in their connection strings, as part of a username or such. Fixes #809. --- src/parsers/command-utils.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parsers/command-utils.lisp b/src/parsers/command-utils.lisp index 5a0073f..4383ab3 100644 --- a/src/parsers/command-utils.lisp +++ b/src/parsers/command-utils.lisp @@ -30,7 +30,7 @@ (defrule ignore-whitespace (* whitespace) (:constant nil)) -(defrule punct (or #\, #\- #\_) +(defrule punct (or #\, #\- #\_ #\$ #\%) (:text t)) (defrule namestring (and (or #\_ (alpha-char-p character))