Skip to main content

strip_slashes

Function strip_slashes 

Source
pub fn strip_slashes(str: &str) -> String
Expand description

Strip any /s that surround str.

Useful for removing the /s that are required in a MEL regular expression that are not required in a Rust regular expression.