directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r607286 - /directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchView.java
Date Fri, 28 Dec 2007 16:54:13 GMT
Author: pamarcelot
Date: Fri Dec 28 08:54:13 2007
New Revision: 607286

URL: http://svn.apache.org/viewvc?rev=607286&view=rev
Log:
Fixed a bug in the SearchView. The search on oid (e.g. 2.16*) was not working properly.

Modified:
    directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchView.java

Modified: directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchView.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchView.java?rev=607286&r1=607285&r2=607286&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchView.java
(original)
+++ directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchView.java
Fri Dec 28 08:54:13 2007
@@ -686,7 +686,7 @@
 
         if ( searchString != null )
         {
-            String computedSearchString = searchString.replaceAll( "\\*", "\\\\w*" );
+            String computedSearchString = searchString.replaceAll( "\\*", "\\\\S*" );
             computedSearchString = computedSearchString.replaceAll( "\\?", ".*" );
 
             Pattern pattern = Pattern.compile( computedSearchString, Pattern.CASE_INSENSITIVE
);



Mime
View raw message