<@U33FQ5WSD> `?matches` tests if the entire string...
# advancedpdf
m
@irurzo
?matches
tests if the entire string matches the pattern.
?replace
will work even if a portion of the string matches. If you change the regex to include the part before the decimal it will work.
${"1.0"?matches(r".+\.(0*)$")?c}
👍 1