pub trait Escape {
type Err;
type Output;
fn escape(&self, esc: &Self) -> Result<Self::Output, Self::Err>;
}
Expand description
Convert the pattern to use standard backslash escape convention.
pub trait Escape {
type Err;
type Output;
fn escape(&self, esc: &Self) -> Result<Self::Output, Self::Err>;
}
Convert the pattern to use standard backslash escape convention.