Skip to main content

Module string

Module string 

Source
Expand description

String parsing helpers for WPL: quoted string, raw string, simple quoted and escapes.

Re-exports§

pub use utils::decode_escapes;

Functions§

parse_quoted_string
Parse a quoted string content with common escapes: " \ \n \t \r \xHH.
parse_raw_string
Parse a raw string r#“…”# or r“…“ (compat) without processing escapes.
parse_simple_quoted
Parse a simple quoted string without escapes (read until next “).