codio / snr

Simple search and replace
3 stars 0 forks source link

Allow replace pattern with empty string #2

Closed destitutus closed 10 years ago

destitutus commented 10 years ago

expression if (opts.replace) is false for empty string

Resolves https://github.com/codio/server/issues/390

destitutus commented 10 years ago

@Dignifiedquire could you confirm and release it?

dignifiedquire commented 10 years ago

Looks good, but please add a simple test case to make sure it works.

dignifiedquire commented 10 years ago

:+1: