Improve Regexp View Helper to do match as well (again)

* no replace argument triggers match mode, returning a truth value
* replace argument triggers replacing