adjust regexes for uglified files