Skip to main content

re_replace

Function re_replace 

Source
pub fn re_replace(pattern: &str, input: &str, replacement: &str) -> String
Expand description

Replace every match. Supports $& (whole match) and $1..$9 (captures).