Eliminate back references and dot. Causes pcre segfault on long img data uri's.