From: schwarze Date: Sat, 10 Jun 2017 13:31:45 +0000 (+0000) Subject: Fix broken escaping: "\." is almost never what you want; found with X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=12c43f4011efb30f3fc10c3861c9d2ebeecde7b9;p=openbsd Fix broken escaping: "\." is almost never what you want; found with mandoc -Tlint. While here, make macro usage more consistent. --- diff --git a/usr.sbin/httpd/patterns.7 b/usr.sbin/httpd/patterns.7 index a01ede5d6d8..1ea3e41f944 100644 --- a/usr.sbin/httpd/patterns.7 +++ b/usr.sbin/httpd/patterns.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: patterns.7,v 1.5 2015/06/30 19:01:05 jmc Exp $ +.\" $OpenBSD: patterns.7,v 1.6 2017/06/10 13:31:45 schwarze Exp $ .\" .\" Copyright (c) 2015 Reyk Floeter .\" 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.5 2015/06/30 19:01:05 jmc Exp $ +.\" $Id: patterns.7,v 1.6 2017/06/10 13:31:45 schwarze Exp $ .\" -.Dd $Mdocdate: June 30 2015 $ +.Dd $Mdocdate: June 10 2017 $ .Dt PATTERNS 7 .Os .Sh NAME @@ -255,7 +255,7 @@ the part of the string matching .Qq a*(.)%w(%s*) is stored as the first capture (and therefore has number 1); the character matching -.So \. Sc +.Qq \&. is captured with number 2, and the part matching .Qq %s*