@LaurentGoderre can the regex be collapsed to a single `.replace`