Skip to content

Commit 402e3d7

Browse files
committed
escape_default broken
1 parent 16e3167 commit 402e3d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ pub fn try_read_string(input: &str) -> IResult<&str, Value> {
394394
pub fn try_read_pattern(input: &str) -> IResult<&str, Value> {
395395
named!(hash_quotation<&str, &str>, preceded!(consume_clojure_whitespaces_parser, tag!("#\"")));
396396

397-
let (rest_input, _) = hash_quotation(input)?;
397+
let (rest_input, _) = hash_quotation(&input.escape_default().to_string())?;
398398
named!(
399399
pattern_parser<&str, regex::Regex>,
400400
map!(

0 commit comments

Comments
 (0)