Lines Matching defs:escaped
489 /// Matches a byte string with escaped characters.
493 /// * The third argument matches the escaped characters
498 /// use nom::bytes::complete::escaped;
502 /// escaped(digit1, '\\', one_of(r#""n\"#))(s)
509 pub fn escaped<'a, Input: 'a, Error, F, G, O1, O2>(
590 /// Matches a byte string with escaped characters.
594 /// * The third argument matches the escaped characters and transforms them
725 // issue #1336 "escaped hangs if normal parser accepts empty"
728 escaped(alpha0, '\\', one_of("n"))(input)
731 // issue #1336 "escaped hangs if normal parser accepts empty"
738 // issue ##1118 escaped does not work with empty string
747 escaped(opt(none_of(r#"\""#)), '\\', one_of(r#"\"rnt"#)),