Fix bug in regular expression stripping quotes.

Change-Id: Iaf84a9a1f00b31daf7225991c4cfc5f17b578028
main
Martin Paraskevov 2015-04-20 19:58:45 -07:00
parent c155f7f5fd
commit ab8482a34b
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public abstract class AndroidWordLevelSpellCheckerSession extends Session {
private final ContentObserver mObserver; private final ContentObserver mObserver;
private static final String quotesRegexp = private static final String quotesRegexp =
"\\u0022|\\u0027|\\u0060|\\u00B4|\\u2018|\\u2018|\\u201C|\\u201D"; "(\\u0022|\\u0027|\\u0060|\\u00B4|\\u2018|\\u2018|\\u201C|\\u201D)";
private static final class SuggestionsParams { private static final class SuggestionsParams {
public final String[] mSuggestions; public final String[] mSuggestions;