Allows multilingual support in hashtags
This commit is contained in:
parent
d3562c70f5
commit
361760be0a
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue