Remove slash as an escapeable character
This commit is contained in:
parent
b2ce7ff6d1
commit
31d99cd425
|
@ -369,7 +369,6 @@ impl<'a> Parser<'a> {
|
||||||
Some((_, 'f')) => Some('\u{c}'),
|
Some((_, 'f')) => Some('\u{c}'),
|
||||||
Some((_, 'r')) => Some('\u{d}'),
|
Some((_, 'r')) => Some('\u{d}'),
|
||||||
Some((_, '"')) => Some('\u{22}'),
|
Some((_, '"')) => Some('\u{22}'),
|
||||||
Some((_, '/')) => Some('\u{2f}'),
|
|
||||||
Some((_, '\\')) => Some('\u{5c}'),
|
Some((_, '\\')) => Some('\u{5c}'),
|
||||||
Some((pos, c @ 'u')) |
|
Some((pos, c @ 'u')) |
|
||||||
Some((pos, c @ 'U')) => {
|
Some((pos, c @ 'U')) => {
|
||||||
|
|
|
@ -4,5 +4,5 @@ newline = "This string has a \n new line character."
|
||||||
formfeed = "This string has a \f form feed character."
|
formfeed = "This string has a \f form feed character."
|
||||||
carriage = "This string has a \r carriage return character."
|
carriage = "This string has a \r carriage return character."
|
||||||
quote = "This string has a \" quote character."
|
quote = "This string has a \" quote character."
|
||||||
slash = "This string has a \/ slash character."
|
slash = "This string has a / slash character."
|
||||||
backslash = "This string has a \\ backslash character."
|
backslash = "This string has a \\ backslash character."
|
||||||
|
|
Loading…
Reference in a new issue