Similar to wtregex_side_effect_conversion_impl, except both input and output are wtstring_patterns. The weight of the appended side-effect is the average of the weights of the contributing elements in the input.
some_rc add search replace append
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
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
Removes the rule mapping search to replace with side effect append in
the rule list of some_rc.
some_rc list
Emit the list of rules for some_rc.