making null replacement empty

This commit is contained in:
Brian Long 2021-06-03 20:07:26 -04:00
parent 050742bcf7
commit 2aec8de78a

View File

@ -39,7 +39,8 @@ public class Regex implements Normalizable {
@Override @Override
public void normalize() { public void normalize() {
// do not trim if (this.replacement == null)
this.replacement = "";
} }
} }