Function gitql_ast::regex_utils::regex_replace
source · pub fn regex_replace(input: &str, pattern: &str, replacement: &str) -> String
Expand description
Return the input after replacing pattern with new content Or return the same input if the pattern is invalid