@operation
def replace(state, host, name, match, replace, flags=None):

    return [sed_replace(state, name, match, replace, flags=flags)]
Turn a string literal into a ``TokenMatcher`` that matches
dataset/ETHPy150Open Fizzadar/pyinfra/pyinfra/modules/files.py/replace--crossover with--dataset/ETHPy150Open erikrose/parsimonious/parsimonious/grammar.py/TokenRuleVisitor.visit_spaceless_literal