Revert "grammars : don't allow to output unescaped new line in string (#5885)"
This reverts commit b1a4e994fde929300d4aeb1deb8320c59cb6edec.
This commit is contained in:
parent
8f336b43f8
commit
6eba3e4678
|
|
@ -15,7 +15,7 @@ array ::=
|
|||
|
||||
string ::=
|
||||
"\"" (
|
||||
[^"\\\n] |
|
||||
[^"\\] |
|
||||
"\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]) # escapes
|
||||
)* "\"" ws
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ array ::=
|
|||
|
||||
string ::=
|
||||
"\"" (
|
||||
[^"\\\n] |
|
||||
[^"\\] |
|
||||
"\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]) # escapes
|
||||
)* "\"" ws
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue