rune::search

Function replace_match

Source
fn replace_match(
    newtext: &str,
    _fixedcase: Option<()>,
    _literal: Option<()>,
    string: Option<&str>,
    subexp: Option<usize>,
    env: &Rt<Env<'_>>,
    cx: &Context<'_>,
) -> Result<String>