Made a pattern a little less specific
Kevin Lyles [03-02-13 - 20:42]
Made a pattern a little less specific
diff --git a/Locales/enUS/patterns.lua b/Locales/enUS/patterns.lua
index d658959..08888d7 100644
--- a/Locales/enUS/patterns.lua
+++ b/Locales/enUS/patterns.lua
@@ -186,7 +186,7 @@ ww_UnweightedLines = {
ww_MultipleStatLines = {
{"^([^,]+) and ([^,]+)$", WeightsWatcher.twoStats, {"cooldownUseEffect", "elixir", "enchant", "food", "generic", "useEffect"}},
{"^([+-]?%d+ )(%a[%a ]+%a) and (%a[%a ]+%a)$", WeightsWatcher.multipleStatsOneNumber, {"elixir", "food"}},
- {"^([%a%d][%a%d ]+[%a%d]), ([%a%d][%a%d ]+[%a%d]),? and ([%a%d][%a%d ]+[%a%d])$",
+ {"^([^,]+), ([^,]+),? and ([^,]+)$",
function(text, pattern, section)
local start, _, stat1, stat2, stat3 = string.find(text, pattern)
if start then