Fix bug in regular expression stripping quotes.
Change-Id: Iaf84a9a1f00b31daf7225991c4cfc5f17b578028main
parent
c155f7f5fd
commit
ab8482a34b
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue