aboutsummaryrefslogtreecommitdiffstats
path: root/man7/regex.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-12-01 07:40:35 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-12-01 07:40:35 +0000
commit4f020e780761f535030db95045c7f318bb9da759 (patch)
treee152e15169108332644ad7522463fa1d5484ced7 /man7/regex.7
parentff75a911d7afa62a73ad238dedf0f3220d8186a4 (diff)
downloadman-pages-4f020e780761f535030db95045c7f318bb9da759.tar.gz
Separate text on back regerences from that describing basic regexps,
as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379829. Remove crufty text about word boundaries.
Diffstat (limited to 'man7/regex.7')
-rw-r--r--man7/regex.77
1 files changed, 5 insertions, 2 deletions
diff --git a/man7/regex.7 b/man7/regex.7
index e1d34d5e9b..8acd7c725b 100644
--- a/man7/regex.7
+++ b/man7/regex.7
@@ -236,6 +236,7 @@ RE or\*(dg the end of a parenthesized subexpression,
and `*' is an ordinary character if it appears at the beginning of the
RE or the beginning of a parenthesized subexpression
(after a possible leading `^').
+.PP
Finally, there is one new type of atom, a \fIback reference\fR:
`\e' followed by a non-zero decimal digit \fId\fR
matches the same sequence of characters
@@ -262,8 +263,10 @@ Avoid using them.
POSIX.2's specification of case-independent matching is vague.
The ``one case implies all cases'' definition given above
is current consensus among implementors as to the right interpretation.
-.PP
-The syntax for word boundaries is incredibly ugly.
+.\" As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295666
+.\" The following does not seem to apply in the glibc implementation
+.\" .PP
+.\" The syntax for word boundaries is incredibly ugly.
.\" .SH AUTHOR
.\" This page was taken from Henry Spencer's regex package.
.SH "SEE ALSO"