remove dead code
fix perfect_match regression caused by the fix on searches for slashes into strings