Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab8482a3 authored by Martin Paraskevov's avatar Martin Paraskevov
Browse files

Fix bug in regular expression stripping quotes.

Change-Id: Iaf84a9a1f00b31daf7225991c4cfc5f17b578028
parent c155f7f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ public abstract class AndroidWordLevelSpellCheckerSession extends Session {
    private final ContentObserver mObserver;

    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 {
        public final String[] mSuggestions;