Skip to main content

escape

Function escape 

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

Escape all special glob characters in the given string.

The returned string, when used as a glob pattern, will match the input string literally.