From: Rich Bowen Date: Fri, 8 Apr 2011 14:17:00 +0000 (+0000) Subject: Remove unnecessary .*s from regex. X-Git-Tag: 2.2.18~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12dcda8dc1792e35a3d2bbe1ccb4ca1eece0a833;p=thirdparty%2Fapache%2Fhttpd.git Remove unnecessary .*s from regex. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1090259 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/remapping.html.en b/docs/manual/rewrite/remapping.html.en index 7fe26b417e1..9708e5da289 100644 --- a/docs/manual/rewrite/remapping.html.en +++ b/docs/manual/rewrite/remapping.html.en @@ -462,8 +462,8 @@ com http://www.example.com/
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/3.*
RewriteRule ^foo\.html$ foo.NS.html [L]

-RewriteCond %{HTTP_USER_AGENT} ^Lynx/.* [OR]
-RewriteCond %{HTTP_USER_AGENT} ^Mozilla/[12].*
+RewriteCond %{HTTP_USER_AGENT} ^Lynx/ [OR]
+RewriteCond %{HTTP_USER_AGENT} ^Mozilla/[12]
RewriteRule ^foo\.html$ foo.20.html [L]

RewriteRule ^foo\.html$ foo.32.html [L]