Permalink
Browse files

Fix derped regex

Thanks to Android Studio for the smart as hell auto-escape feature 😠

[skip ci]
  • Loading branch information...
divadsn committed Oct 11, 2017
1 parent 51a99cf commit 580ffcbccd6056da9b9bf27f2a0235dd4713f116
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/src/main/java/ch/deletescape/lawnchair/util/UnicodeFilter.java
@@ -9,7 +9,7 @@
*/
public class UnicodeFilter {
private static final Pattern DIACRITICS_PATTERN =
Pattern.compile("\\\\p{InCombiningDiacriticalMarks}+");
Pattern.compile("\\p{InCombiningDiacriticalMarks}+");
public static String filter(String source) {
StringBuilder output = new StringBuilder(Normalizer.normalize(source, Normalizer.Form.NFD));

0 comments on commit 580ffcb

Please sign in to comment.