]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove unnecessary .* from regex.
authorRich Bowen <rbowen@apache.org>
Fri, 8 Apr 2011 14:16:46 +0000 (14:16 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 8 Apr 2011 14:16:46 +0000 (14:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090258 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/remapping.html.en

index 97f7d1cb99ad8a80538c1dad51a65d9fcd747e33..34aab0962bf5099e25a96561e09c414bf00f0b76 100644 (file)
@@ -485,8 +485,8 @@ com       http://www.example.com/<br />
 RewriteCond %{HTTP_USER_AGENT}  ^<strong>Mozilla/3</strong>.*<br />
 RewriteRule ^foo\.html$         foo.<strong>NS</strong>.html          [<strong>L</strong>]<br />
 <br />
-RewriteCond %{HTTP_USER_AGENT}  ^<strong>Lynx/</strong>.*         [OR]<br />
-RewriteCond %{HTTP_USER_AGENT}  ^<strong>Mozilla/[12]</strong>.*<br />
+RewriteCond %{HTTP_USER_AGENT}  ^<strong>Lynx/</strong>         [OR]<br />
+RewriteCond %{HTTP_USER_AGENT}  ^<strong>Mozilla/[12]</strong><br />
 RewriteRule ^foo\.html$         foo.<strong>20</strong>.html          [<strong>L</strong>]<br />
 <br />
 RewriteRule ^foo\.html$         foo.<strong>32</strong>.html          [<strong>L</strong>]