making null replacement empty
This commit is contained in:
parent
050742bcf7
commit
2aec8de78a
@ -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 = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user