From df37918fca72d82a0c9eba519260a486078d0fde Mon Sep 17 00:00:00 2001 From: Joshua Slive Date: Wed, 1 Nov 2000 19:18:03 +0000 Subject: Fix in regex example. PR: 6777 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86791 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/misc/FAQ-B.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/manual/misc') diff --git a/docs/manual/misc/FAQ-B.html b/docs/manual/misc/FAQ-B.html index ee1798a518..540d577192 100644 --- a/docs/manual/misc/FAQ-B.html +++ b/docs/manual/misc/FAQ-B.html @@ -31,7 +31,7 @@

Apache Server Frequently Asked Questions

- $Revision: 1.3 $ ($Date: 2000/01/30 15:47:42 $) + $Revision: 1.4 $ ($Date: 2000/11/01 19:18:03 $)

The latest version of this FAQ is always available from the main @@ -382,14 +382,14 @@ 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 + Regular expressions (aka "regex"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]/. + 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 + We implement a simple subset of Perl's regex support, but it's still a good way to learn what they mean. You can start by going to the