]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/engine/Index.java
Fixed crashes, Slovenian fix, hide up/down buttons, proper keyboard
[Dictionary.git] / src / com / hughes / android / dictionary / engine / Index.java
index ad9533415be86e1231f45add65a1f6aae81a2aa2..cea2caca639db601979d86d7082e890bfeaeeb46 100644 (file)
@@ -372,7 +372,7 @@ public final class Index implements RAFSerializable<Index> {
     final int exactMatchIndex = findInsertionPointIndex(searchText, interrupted);
     if (exactMatchIndex != -1) {
         final IndexEntry exactMatch = sortedIndexEntries.get(exactMatchIndex);
-        if (pattern.matcher(exactMatch.token).matches()) {
+        if (pattern.matcher(exactMatch.token).find()) {
             matches.get(RowMatchType.TITLE_MATCH).add(rows.get(exactMatch.startRow));
         }
     }