This repository has been archived on 2021-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
cutthecord/patches/pseudonitro-viewer/1371.patch
2021-01-05 17:09:25 -05:00

21 lines
1,007 B
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 from/smali/com/discord/utilities/textprocessing/Rules.smali to/smali/com/discord/utilities/textprocessing/Rules.smali
*** from/smali/com/discord/utilities/textprocessing/Rules.smali 2021-01-05 00:49:45.526306300 -0500
--- to/smali/com/discord/utilities/textprocessing/Rules.smali 2021-01-05 16:44:33.730000000 -0500
***************
*** 128,134 ****
sput-object v0, Lcom/discord/utilities/textprocessing/Rules;->PATTERN_UNICODE_EMOJI$delegate:Lkotlin/Lazy;
! const-string v0, "^<(a)?:([a-zA-Z_0-9]+):(\\d+)>"
.line 7
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
--- 128,135 ----
sput-object v0, Lcom/discord/utilities/textprocessing/Rules;->PATTERN_UNICODE_EMOJI$delegate:Lkotlin/Lazy;
! # There's a ZWSP there
! const-string v0, "^<&??(a)?:([a-zA-Z_0-9]+):(\\d+)>"
.line 7
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;