Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3661998

Browse files
feodorNikita Glukhov
authored and
Nikita Glukhov
committed
fix list of special characters in jsonpath
1 parent 9204dd2 commit 3661998

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/adt/jsonpath_scan.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ fprintf_to_ereport(const char *fmt, const char *msg)
6464
%x xVARQUOTED
6565
%x xCOMMENT
6666

67-
special [\?\%\$\.\[\]\(\)\|\&\=\<\>\@\#\,\*:]
68-
any [^\?\%\$\.\[\]\(\)\|\&\!\=\<\>\@\#\,\* \t\n\r\f\\\"\/:]
67+
special [\?\%\$\.\[\]\(\)\|\&\!\=\<\>\@\#\,\*:\-\+\/]
68+
any [^\?\%\$\.\[\]\(\)\|\&\!\=\<\>\@\#\,\*:\-\+\/\\\" \t\n\r\f]
6969
blank [ \t\n\r\f]
7070
unicode \\u[0-9A-Fa-f]{4}
7171

0 commit comments

Comments
 (0)