diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/madore/android/unicodeMap/UnicodeMapActivity.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/madore/android/unicodeMap/UnicodeMapActivity.java b/src/org/madore/android/unicodeMap/UnicodeMapActivity.java index 2795c28..5a2622a 100644 --- a/src/org/madore/android/unicodeMap/UnicodeMapActivity.java +++ b/src/org/madore/android/unicodeMap/UnicodeMapActivity.java @@ -362,6 +362,9 @@ public final class UnicodeMapActivity extends ListActivity { final static int searchLimit = 1000; protected void doSearch(String s) { + s = s.replaceAll("\\*", "%"); + s = s.replaceAll("^\\s*", ""); + s = s.replaceAll("\\s*$", ""); Display newDisp = new SearchDisplay(getResources().getString(R.string.search_results), s, searchLimit); saveDisplay(); |