Fix invalid windows regex