Parse a raw double quoted string with escape chars. Returns everything inside a r#"..."#
(input: &str)
| 32 | /// Parse a raw double quoted string with escape chars. |
| 33 | /// Returns everything inside a r#"..."# |
| 34 | pub(self) fn raw_double_string(input: &str) -> IResult<&str, String, StofParseError> { |
| 35 | let (input, res) = delimited(tag("r#\""), take_until("\"#"), tag("\"#")).parse(input)?; |
| 36 | Ok((input, res.into())) |
| 37 | } |
| 38 | |
| 39 | /// Parse a double quoted string. |
| 40 | pub fn double_string(input: &str) -> IResult<&str, String, StofParseError> { |