regex oversight, need a capture around the file extension disjunction