simplify the spider-handling regex