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.
This commit is contained in:
Michael Kerrisk 2007-12-01 07:40:35 +00:00
parent ff75a911d7
commit 4f020e7807
1 changed files with 5 additions and 2 deletions

View File

@ -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 and `*' is an ordinary character if it appears at the beginning of the
RE or the beginning of a parenthesized subexpression RE or the beginning of a parenthesized subexpression
(after a possible leading `^'). (after a possible leading `^').
.PP
Finally, there is one new type of atom, a \fIback reference\fR: Finally, there is one new type of atom, a \fIback reference\fR:
`\e' followed by a non-zero decimal digit \fId\fR `\e' followed by a non-zero decimal digit \fId\fR
matches the same sequence of characters matches the same sequence of characters
@ -262,8 +263,10 @@ Avoid using them.
POSIX.2's specification of case-independent matching is vague. POSIX.2's specification of case-independent matching is vague.
The ``one case implies all cases'' definition given above The ``one case implies all cases'' definition given above
is current consensus among implementors as to the right interpretation. is current consensus among implementors as to the right interpretation.
.PP .\" As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295666
The syntax for word boundaries is incredibly ugly. .\" The following does not seem to apply in the glibc implementation
.\" .PP
.\" The syntax for word boundaries is incredibly ugly.
.\" .SH AUTHOR .\" .SH AUTHOR
.\" This page was taken from Henry Spencer's regex package. .\" This page was taken from Henry Spencer's regex package.
.SH "SEE ALSO" .SH "SEE ALSO"