kesla/async-replace — pull request #2 by Pimm (2013-08-07 17:39:03+00:00)
Title: Function is now asynchronous, even when there are no matches.

You and I made the exact same mistake: the function acted in a synchronous manner if there are no matches.

See http://nodejs.org/api/process.html#process_process_nexttick_callback