Index: src/org/openstreetmap/josm/tools/SearchCompiler.java
===================================================================
--- src/org/openstreetmap/josm/tools/SearchCompiler.java	(revision 102)
+++ src/org/openstreetmap/josm/tools/SearchCompiler.java	(revision 142)
@@ -78,5 +78,5 @@
 			if (value == null)
 				return notValue;
-			return (value.indexOf(this.value) != -1) != notValue;
+			return (value.toLowerCase().indexOf(this.value.toLowerCase()) != -1) != notValue;
 		}
 		@Override public String toString() {return key+"="+(notValue?"!":"")+value;}
@@ -90,5 +90,6 @@
 				return s.equals("");
 			for (Entry<String, String> e : osm.keys.entrySet())
-				if (e.getKey().indexOf(s) != -1 || e.getValue().indexOf(s) != -1)
+				if (e.getKey().toLowerCase().indexOf(s.toLowerCase()) != -1 
+						|| e.getValue().toLowerCase().indexOf(s.toLowerCase()) != -1)
 					return true;
 			return false;
@@ -111,5 +112,5 @@
 		@Override public String toString() {return "type="+type;}
 	}
-	
+
 	private static class Modified extends Match {
 		@Override public boolean match(OsmPrimitive osm) {
