From 8c936f8229d814a2d9db233d41260d635ac85a84 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Thu, 28 Jan 2010 17:35:27 -0600 Subject: [PATCH] Heavily updated the ignore lists --- Regexps.lua | 66 +++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 53 insertions(+), 13 deletions(-) diff --git a/Regexps.lua b/Regexps.lua index 6153c19..cf591a7 100644 --- a/Regexps.lua +++ b/Regexps.lua @@ -111,24 +111,64 @@ ignoredInvalidStats = { } IgnoredLines = { - "^durability %d+ / %d+$", - "^<.+>$", - "^\".+\"$", - "^you may trade this item with players that were also eligible to loot this item for the next ", "^$", - "^requires %a[%a ]+ %- neutral$", - "^requires %a[%a ]+ %- friendly$", - "^requires %a[%a ]+ %- honored$", - "^requires %a[%a ]+ %- revered$", - "^requires %a[%a ]+ %- exalted$", - "^use: teaches you how to ", + -- Reputation and materials requirements + "^requires ", + "^ [^ ]", + "^%a[%a' -]+ %(%d/%d%)$", + "^classes: ", + "^\n", + "^\".+\"$", + "^races: ", + "^duration: ", + "^conjured item$", + "^use: right click to ", + "^this item begins a quest$", + "^already known$", + -- Zone names + "^alterac valley$", + "^black temple$", + "^blackrock depths$", + "^blade's edge mountains$", + "^isle of conquest$", + "^karazhan$", + "^shadowmoon valley", + "^strand of the ancients$", + "^tempest keep$", + "^the battle for mount hyjal$", + "^the black morass$", + "^the oculus$", + "^wintergrasp$", + "^zul'aman$", } TempIgnoredLines = { - "^use: restores %d+ %a[%a ]+ over %d+ sec%. must remain seated while %a+ing%.", - "^use: restores %d+%% of your %a[%a ]+ per second for %d+ sec%. must remain seated while %a+ing%.", - "^use: heals %d+ damage over %d+ sec%.$", + "^item level %d+$", "^use: restores %d+ to %d+ %a+", + "^use: teaches .* %(rank %d+%)%.$", + "^%d+ slot ", + "^use: heals %d+ damage over %d+ sec%.$", + -- Profession patterns + "^use: teaches you how to make ", + "^use: teaches you how to cut ", + "^use: teaches you how to craft ", + "^use: teaches you how to sew ", + "^use: teaches you how to cook ", + "^use: teaches you how to forge ", + "^use: teaches you how to transmute ", + "^use: teaches you how to create ", + "^use: teaches you how to bake ", + "^use: teaches you how to be ", + "^use: teaches you how to summon ", + "^use: teaches you how to brew ", + "^use: teaches you how to inscribe ", + "^use: teaches you how to ride ", + "^use: teaches you how to burn ", + "^use: teaches you how to deep fry ", + "^use: teaches you how to purify ", + "^use: teaches you how to shatter ", + "^use: teaches you how to smelt ", + "^use: teaches you how to turn ", } UnweightedLines = { -- 1.7.9.5