basic replace_patterns and match.1/match.0 acceptance tests

`basic_replace` and `noop_replace` work.

`advanced_replace` seems to fail because `$(match.1)` is not expanded.