bad regex in checking for archives