We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 361760b commit a274bafCopy full SHA for a274baf
1 file changed
app/src/main/java/org/schabi/newpipe/util/external_communication/TextLinkifier.java
@@ -33,8 +33,9 @@
33
public final class TextLinkifier {
34
public static final String TAG = TextLinkifier.class.getSimpleName();
35
36
+ // Looks for hashtags with characters from any language (\p{L}), numbers, or underscores
37
private static final Pattern HASHTAGS_PATTERN =
- Pattern.compile("(#[A-Za-z0-9_\\u0080-\\uFFFF]+)");
38
+ Pattern.compile("(#[\\p{L}0-9_]+)");
39
40
private TextLinkifier() {
41
}
0 commit comments