Quantcast

Used character classes instead of sets

Kevin Lyles [10-24-12 - 23:20]
Used character classes instead of sets
Filename
Locales/enUS/patterns.lua
diff --git a/Locales/enUS/patterns.lua b/Locales/enUS/patterns.lua
index 08b9cd9..608f9c1 100644
--- a/Locales/enUS/patterns.lua
+++ b/Locales/enUS/patterns.lua
@@ -72,8 +72,8 @@ function WeightsWatcher.convertToSeconds(duration)
 end

 ww_Preprocess = {
-	{"|c[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]([^|]+)|r", "%1"},
-	{"([0-9]+),([0-9]+)", "%1%2"},
+	{"|c%x%x%x%x%x%x%x%x([^|]+)|r", "%1"},
+	{"(%d+),(%d+)", "%1%2"},
 	{" +$", ""},
 }