You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"comment": "Backslash not followed by single quote is treated as any other character",
"expression": "'\\\\'",
"result": "\\\\"
}
Instead, this should be
Expression
Expressed as JSON
Result
Comment
'\\'
'\\\\'
"\\"
should follow raw-string-escape grammar rule
Suggested change:
{
- "comment": "Backslash not followed by single quote is treated as any other character",+ "comment": "Can escape backslash",
"expression": "'\\\\'",
- "result": "\\\\"+ "result": "\\"
}
The text was updated successfully, but these errors were encountered:
springcomp
changed the title
raw-string literal example is incorrectraw-string-escape compliance test is incorrect
Nov 8, 2022
Migrated from #14.
The following compliance test is incorrect:
jmespath.test/tests/literal.json
Lines 193 to 197 in aa6fb5f
Instead, this should be
'\\'
'\\\\'
"\\"
raw-string-escape
grammar ruleSuggested change:
The text was updated successfully, but these errors were encountered: