From b2df011727b9108b21c1c442065a9b3b3c98d238 Mon Sep 17 00:00:00 2001 From: coldino <28345893+coldino@users.noreply.github.com> Date: Thu, 22 Jul 2021 09:54:52 +0100 Subject: [PATCH] Make clipboard item recogniser more generous --- TestItem.ahk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestItem.ahk b/TestItem.ahk index f534b79..410b31e 100644 --- a/TestItem.ahk +++ b/TestItem.ahk @@ -326,7 +326,7 @@ InsertTrayMenuItems() { GetItemFromClipboard() { ; Verify the information is what we're looking for - if RegExMatch(clipboard, "(Rarity|Item Class): .*?\R.*?\R?.*?\R--------\R.*") = 0 { + if RegExMatch(clipboard, "(Rarity|Item Class): .+?(\r.+?){3,}") = 0 { MsgBox % "Not a PoE item" return false }