Fix extensions regex