-.\" $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 <reyk@openbsd.org>
.\" Copyright (C) 1994-2015 Lua.org, PUC-Rio.
.\" 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
.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*