]> granicus.if.org Git - apache/commitdiff
s/r:/r./
authorDaniel Gruno <humbedooh@apache.org>
Sat, 20 Apr 2013 07:08:42 +0000 (07:08 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Sat, 20 Apr 2013 07:08:42 +0000 (07:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1470114 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.xml

index 1eeaac7a4ab855c2a04db4292220d5545034980a..f765ebf5a421d756bf5c4c33b6f213a2d373ee5f 100644 (file)
@@ -813,10 +813,10 @@ r:escape_logitem(string) -- Escapes a string for logging
 </highlight>
 
 <highlight language="lua">
-r:strcmp_match(string, pattern) -- Checks if 'string' matches 'pattern' using strcmp_match (globs).
+r.strcmp_match(string, pattern) -- Checks if 'string' matches 'pattern' using strcmp_match (globs).
                         -- fx. whether 'www.example.com' matches '*.example.com':
                         
-local match = r:strcmp_match("foobar.com", "foo*.com")
+local match = r.strcmp_match("foobar.com", "foo*.com")
 if match then 
     r:puts("foobar.com matches foo*.com")
 end