bluecord/patches/pseudonitro-viewer/1150.patch
2020-05-28 15:26:04 +03:00

22 lines
1 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

diff -crB com.discord-base/smali/com/discord/utilities/textprocessing/Rules.smali com.discord/smali/com/discord/utilities/textprocessing/Rules.smali
*** com.discord-base/smali/com/discord/utilities/textprocessing/Rules.smali 2020-05-27 16:23:07.799975486 +0300
--- com.discord/smali/com/discord/utilities/textprocessing/Rules.smali 2020-05-28 15:14:32.542156347 +0300
***************
*** 165,171 ****
sput-object v1, Lcom/discord/utilities/textprocessing/Rules;->PATTERN_UNICODE_EMOJI$delegate:Lkotlin/Lazy;
! const-string v1, "^<(a)?:([a-zA-Z_0-9]+):(\\d+)>"
.line 10
invoke-static {v1}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
--- 165,172 ----
sput-object v1, Lcom/discord/utilities/textprocessing/Rules;->PATTERN_UNICODE_EMOJI$delegate:Lkotlin/Lazy;
! # There's a ZWSP there
! const-string v1, "^<&??(a)?:([a-zA-Z_0-9]+):(\\d+)>"
.line 10
invoke-static {v1}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;