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.
2 parents f6cad2d + a274baf commit 05370dbCopy full SHA for 05370db
1 file changed
app/src/main/java/org/schabi/newpipe/util/external_communication/TextLinkifier.java
@@ -33,7 +33,9 @@
33
public final class TextLinkifier {
34
public static final String TAG = TextLinkifier.class.getSimpleName();
35
36
- private static final Pattern HASHTAGS_PATTERN = Pattern.compile("(#[A-Za-z0-9_]+)");
+ // Looks for hashtags with characters from any language (\p{L}), numbers, or underscores
37
+ private static final Pattern HASHTAGS_PATTERN =
38
+ Pattern.compile("(#[\\p{L}0-9_]+)");
39
40
private TextLinkifier() {
41
}
0 commit comments