Thu, 02 Jul 2009 15:43:27 +0100
mod_pep: Escape + in pattern
plugins/mod_pep.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_pep.lua Thu Jul 02 04:54:46 2009 +0100 +++ b/plugins/mod_pep.lua Thu Jul 02 15:43:27 2009 +0100 @@ -193,7 +193,7 @@ local notify = {}; for _, feature in pairs(disco.tags) do if feature.name == "feature" and feature.attr.var then - local nfeature = feature.attr.var:match("^(.*)+notify$"); + local nfeature = feature.attr.var:match("^(.*)%+notify$"); if nfeature then notify[nfeature] = true; end end end