! regex match was doing the match twice (and failing ofc)