Better double regex parsing and infinite value support