change non-matching example since the old version would now match
Matt S Trout [Wed, 8 Dec 2010 12:38:57 +0000 (12:38 +0000)]
lib/Web/Simple.pm

index 0e4797c..e54d47b 100644 (file)
@@ -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!