fix for == vs === in Re class