From: Matt S Trout Date: Wed, 8 Dec 2010 12:38:57 +0000 (+0000) Subject: change non-matching example since the old version would now match X-Git-Tag: v0.005~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FWeb-Simple.git;a=commitdiff_plain;h=1760e999b21c55418364ad066f6640f8a0d34714 change non-matching example since the old version would now match --- diff --git a/lib/Web/Simple.pm b/lib/Web/Simple.pm index 0e4797c..e54d47b 100644 --- a/lib/Web/Simple.pm +++ b/lib/Web/Simple.pm @@ -465,15 +465,15 @@ and are equivalent, but - sub ((GET + .html) | (POST + .html)) { + sub ((GET + /admin/...) | (POST + /admin/...)) { and - sub (GET + .html | POST + .html) { + sub (GET + /admin/... | POST + /admin/...) { are not - the latter is equivalent to - sub (GET + (.html|POST) + .html) { + sub (GET + (/admin/...|POST) + /admin/...) { which will never match!