Specifies the type of the function passed to replace_eval.
It is called for each occurrence of the pattern in the string passed to
replace_eval, and it should append the replacement to result
.
match_info |
the MatchInfo generated by the match. Use get_regex and get_string if you need the Regex or the matched string. |
result |
a StringBuilder containing the new string |
user_data |
user data passed to replace_eval |
false to continue the replacement process, true to stop it |