pub fn unescape_brackets(s: &str) -> Cow<'_, str>Expand description
Unescape \[ and \] into literal [ and ]. Any other backslash is left
untouched. Returns a borrow when there is nothing to unescape (the common
case), so non-escaped field names never allocate.