Implements "true" and "false" in regex replace. Fixes #292.

This should be an assertion / `tap` print instead of a console.log