Hello, any idea why this condition works for `repl...
# advancedpdf
i
Hello, any idea why this condition works for
replace
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