Quantcast

Combined preprocess lines

Kevin Lyles [02-09-10 - 19:20]
Combined preprocess lines
Filename
Regexps.lua
diff --git a/Regexps.lua b/Regexps.lua
index cf591a7..2895974 100644
--- a/Regexps.lua
+++ b/Regexps.lua
@@ -100,8 +100,7 @@ function WeightsWatcher.newStatTable(tbl)
 end

 Preprocess = {
-	{"|r$", ""},
-	{"^|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]", ""},
+	{"|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"},
 	{" +$", ""},
 }