# HG changeset patch # User Mikael Berthe # Date 1285872248 -7200 # Node ID 7f9ecc483f739ccb18456e72e1beda14dfbf70e1 # Parent 99477d3c2dda17a7384e7d30fb5b8cbe6fe063a4 tvcal: fix firstep's diff -r 99477d3c2dda -r 7f9ecc483f73 mcbot/cmds/tvcal.lua --- 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 = '([^<]+)' - epregex = epregex .. '
' - epregex = epregex .. '([^<]+)[%s\n]*' + epregex = '([^<]+)' + epregex = epregex .. '
' + epregex = epregex .. '([^<]+)[%s\n]*' local shows = {} for name, ep in string.gmatch(tab, epregex) do