Index: /trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java	(revision 2790)
+++ /trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java	(revision 2791)
@@ -60,7 +60,14 @@
     }
 
-    private static class Always extends Match {
+    public static class Always extends Match {
         @Override public boolean match(OsmPrimitive osm) {
             return true;
+        }
+    }
+
+    public static class Never extends Match {
+        @Override
+        public boolean match(OsmPrimitive osm) {
+            return false;
         }
     }
