Skip to content

Commit 361760b

Browse files
committed
Allows multilingual support in hashtags
1 parent d3562c7 commit 361760b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/util/external_communication/TextLinkifier.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
public final class TextLinkifier {
3434
public static final String TAG = TextLinkifier.class.getSimpleName();
3535

36-
private static final Pattern HASHTAGS_PATTERN = Pattern.compile("(#[A-Za-z0-9_]+)");
36+
private static final Pattern HASHTAGS_PATTERN =
37+
Pattern.compile("(#[A-Za-z0-9_\\u0080-\\uFFFF]+)");
3738

3839
private TextLinkifier() {
3940
}

0 commit comments

Comments
 (0)