Remove broken support for replace-regex(<string>, <regex>, <function>).  do-replacement really only supports replace-regex(<string>, <regex>, <string>).
Use different method names for regex-pattern and regex-error-pattern instead of trying to overload regex-pattern for both.
replatement -> replacement
Merge pull request #3 from cgay/regex-docs

Fix problems found while writing regex docs