better filter regexp tests