From: brian Date: Wed, 20 May 1998 11:12:42 +0000 (+0000) Subject: PR: X-Git-Tag: APACHE_1_3b7~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d32d995726d5fb7f69242405ff92aab0ccf9ba1d;p=thirdparty%2Fapache%2Fhttpd.git PR: Added text about regualr expressions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81316 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/misc/FAQ.html b/docs/manual/misc/FAQ.html index e6b81c00003..a1c5783c4e8 100644 --- a/docs/manual/misc/FAQ.html +++ b/docs/manual/misc/FAQ.html @@ -15,7 +15,7 @@

Apache Server Frequently Asked Questions

- $Revision: 1.114 $ ($Date: 1998/05/05 05:09:31 $) + $Revision: 1.115 $ ($Date: 1998/05/20 11:12:42 $)

The latest version of this FAQ is always available from the main @@ -283,6 +283,8 @@

  • What's the best hardware/operating system/... How do I get the most out of my Apache Web server?
  • +
  • What are "regular expressions"? +
  • @@ -2277,6 +2279,26 @@


    +
  • + What are "regular expressions"? +

    + Regular expressions are a way of describing a pattern - for example, "all the words + that begin with the letter A" or "every 10-digit phone number" or even "Every sentence + with two commas in it, and no capital letter Q". Regular expressions (aka "regexp"s) + are useful in Apache because they let you apply certain attributes against collections + of files or resources in very flexible ways - for example, all .gif and .jpg files under + any "images" directory could be written as /.*\/images\/.*[jpg|gif]/. + +

    The best overview around is probably the one which comes with + Perl. We implement a simple subset of Perl's regexp support, but + it's still a good way to learn what they mean. You can start by + going to the CPAN + page on regular expressions, and branching out from there. + +


    +
  • +