From a126f6c554260aa03f1ad875b65c7d6bf94cd72e Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Tue, 2 Apr 2024 01:28:03 +0200 Subject: fix friend detection from chat (#1336) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt index 19d337249..224ce9979 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt @@ -33,9 +33,13 @@ object FriendAPI { "addbest", ".*\n(?.*)§a is now a best friend!§r§9§m\n.*" ) + /** + * REGEX-TEST: + * §eClick here to view §bAaronL_Jackson§e's profile + */ private val rawNamePattern by patternGroup.pattern( "rawname", - "\\n§eClick to view §.(?.*)§e's profile" + "\\n§eClick here to view §.(?.*)§e's profile" ) private val readFriendListPattern by patternGroup.pattern( "readfriends", -- cgit