Allows multilingual support in hashtags
This commit is contained in:
parent
d3562c70f5
commit
361760be0a
|
@ -33,7 +33,8 @@ import static org.schabi.newpipe.util.external_communication.InternalUrlsHandler
|
|||
public final class TextLinkifier {
|
||||
public static final String TAG = TextLinkifier.class.getSimpleName();
|
||||
|
||||
private static final Pattern HASHTAGS_PATTERN = Pattern.compile("(#[A-Za-z0-9_]+)");
|
||||
private static final Pattern HASHTAGS_PATTERN =
|
||||
Pattern.compile("(#[A-Za-z0-9_\\u0080-\\uFFFF]+)");
|
||||
|
||||
private TextLinkifier() {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue