fixed collisions with regex test matches