mcbot/cmds/tvcal.lua
changeset 43 7f9ecc483f73
parent 39 237af42156a1
child 57 100a831f4f12
--- a/mcbot/cmds/tvcal.lua	Tue Jun 01 16:41:49 2010 +0200
+++ b/mcbot/cmds/tvcal.lua	Thu Sep 30 20:44:08 2010 +0200
@@ -40,9 +40,9 @@
         local d, m, y = day:match("^(%d+)_(%d+)_(%d%d%d%d)$")
         day = string.format("%04d-%02d-%02d", y, m, d)
 
-        epregex = '<td><a id="[^"]+" href="[^"]+" class="eplink%s*"%s*>([^<]+)</a>'
-        epregex = epregex .. '<span class="seasep"%s*></span><br />'
-        epregex = epregex .. '<span class="seasep"%s*>([^<]+)</span>[%s\n]*</td>'
+        epregex = '<td><a id="[^"]+" href="[^"]+" class="eplink%s*%w*"%s*>([^<]+)</a>'
+        epregex = epregex .. '<span class="seasep%s*%w*"%s*></span><br />'
+        epregex = epregex .. '<span class="seasep%s*%w*"%s*>([^<]+)</span>[%s\n]*</td>'
 
         local shows = {}
         for name, ep in string.gmatch(tab, epregex) do