summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsemarie <semarie@openbsd.org>2015-06-30 08:28:38 +0000
committersemarie <semarie@openbsd.org>2015-06-30 08:28:38 +0000
commit2a319bef6456f6c474eb85c9481d3603a414986b (patch)
treed023d522164acdc2e742fe735f4d236adbc90ace
parentAdd "sd" to be specifiedit as "rootdev=" boot parameter. (diff)
downloadwireguard-openbsd-2a319bef6456f6c474eb85c9481d3603a414986b.tar.xz
wireguard-openbsd-2a319bef6456f6c474eb85c9481d3603a414986b.zip
Add a small paragraph about some difference with Lua implementation.
Suggestion from Theo Buehler. OK jmc@ reyk@
-rw-r--r--usr.sbin/httpd/patterns.710
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/httpd/patterns.7 b/usr.sbin/httpd/patterns.7
index 2bdb8da0f8d..8ef55000604 100644
--- a/usr.sbin/httpd/patterns.7
+++ b/usr.sbin/httpd/patterns.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: patterns.7,v 1.3 2015/06/27 04:22:52 semarie Exp $
+.\" $OpenBSD: patterns.7,v 1.4 2015/06/30 08:28:38 semarie Exp $
.\"
.\" Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
.\" Copyright (C) 1994-2015 Lua.org, PUC-Rio.
@@ -23,9 +23,9 @@
.\" SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.\"
.\" Derived from section 6.4.1 in manual.html of Lua 5.3.1:
-.\" $Id: patterns.7,v 1.3 2015/06/27 04:22:52 semarie Exp $
+.\" $Id: patterns.7,v 1.4 2015/06/30 08:28:38 semarie Exp $
.\"
-.Dd $Mdocdate: June 27 2015 $
+.Dd $Mdocdate: June 30 2015 $
.Dt PATTERNS 7
.Os
.Sh NAME
@@ -302,3 +302,7 @@ It was turned into a native C API for
.Xr httpd 8
by
.An Reyk Floeter Aq Mt reyk@openbsd.org .
+.Sh CAVEATS
+A notable difference with the Lua implementation is the position in the string
+returned by captures. It follows the C-style indexing (position starting from
+0) instead of Lua-style indexing (position starting from 1).