Similar to regex_side_effect_conversion_impl, except the output is a wtstring_pattern. Each side effect has an associated weight which is the strength of that it will have in the output.
some_rc add search replace append weight
Appends a new rule to the list in some_rc; the new rule has search as
the element sought, replace as the element that replaces it and append
with weight weight as the side effect on the output. search may contain regular expression
elements (as implemented by boost) and replace and append may contain
elements like \1 to refer to parenthesised expressions in search.
some_rc remove search replace append weight
Removes the rule mapping search to replace with side effect append and
weight weight in the rule list of some_rc.
some_rc list
Emit the list of rules for some_rc.