# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1246545807 -3600
# Node ID 51f0202b08680056e8d3a39029807bc3a9746938
# Parent  5882ed6219ff77098aaa67cc8b86493fb7036dd7
mod_pep: Escape + in pattern

diff -r 5882ed6219ff -r 51f0202b0868 plugins/mod_pep.lua
--- 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