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

Commit 54e891e2 authored by Martin Paraskevov's avatar Martin Paraskevov Committed by Android (Google) Code Review
Browse files

Merge "Fix bug in regular expression stripping quotes."

parents cdfe8b93 ab8482a3
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;