Skip to main content

hunt_replace

Function hunt_replace 

Source
pub fn hunt_replace(pat: &Value, text: &Value, repl: &Value) -> DogeResult
Expand description

hunt.replace(pat, text, repl) — every match of pat in text swapped for repl, where repl may reference capture groups as $1 or ${name}.