From 9cd4f7dd90001271084fa9ca5de4822db85c503d Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Tue, 9 Feb 2010 13:20:29 -0600 Subject: [PATCH] Re-ordered socket, item info, and slot patterns to parse faster --- Regexps.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Regexps.lua b/Regexps.lua index e415943..ff29961 100644 --- a/Regexps.lua +++ b/Regexps.lua @@ -161,9 +161,9 @@ UnweightedLines = { socketBonus = "^socket bonus: (.*)" SocketLines = { - "^(blue) socket$", "^(red) socket$", "^(yellow) socket$", + "^(blue) socket$", "^(meta) socket$", } @@ -229,8 +229,8 @@ SingleStatLines = { } ItemInfoLines = { - "^unique", "^binds ", + "^unique", "^soulbound$", } @@ -243,22 +243,22 @@ DoubleSlotLines = { "^waist$", "^legs$", "^feet$", + "^two%-hand$", + "^one%-hand$", "^main hand$", "^off hand$", - "^one%-hand$", - "^two%-hand$", - "^relic$", "^ranged$", + "^relic$", "^thrown$", "^projectile$", } SingleSlotLines = { - "^neck$", - "^back$", - "^shirt$", - "^tabard$", "^finger$", + "^back$", + "^neck$", "^trinket$", "^held in off%-hand$", + "^shirt$", + "^tabard$", } -- 1.7.9.5