irurzo
04/06/2020, 10:06 PMreplace
but not for matches
in freemarker? ${"1.0"?matches(r"\.(0*)$")?c}
this always returns false but this ${"1.0"?replace(r"\.(0*)$", "", "r")}
replaces the match with empty space, the condition is the same regex