regexp: allow substitutions in Replace, ReplaceString
Add Expand, ExpandString for access to the substitution functionality. Fixes #2736. R=r, bradfitz, r, rogpeppe, n13m3y3r CC=golang-dev https://golang.org/cl/5638046
Showing
This diff is collapsed.
Please
register
or
sign in
to comment