Module Name: othersrc Committed By: wiz Date: Thu Aug 17 11:02:56 UTC 2017
Modified Files: othersrc/external/bsd/agcre/dist: agcre_format.7 Log Message: Minor improvements. Do not use xrefs to non-existing man pages. XXX: there is partial sentence here. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/agcre/dist/agcre_format.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/external/bsd/agcre/dist/agcre_format.7 diff -u othersrc/external/bsd/agcre/dist/agcre_format.7:1.1 othersrc/external/bsd/agcre/dist/agcre_format.7:1.2 --- othersrc/external/bsd/agcre/dist/agcre_format.7:1.1 Wed Aug 16 23:38:13 2017 +++ othersrc/external/bsd/agcre/dist/agcre_format.7 Thu Aug 17 11:02:56 2017 @@ -1,4 +1,4 @@ -.\" $NetBSD: agcre_format.7,v 1.1 2017/08/16 23:38:13 agc Exp $ +.\" $NetBSD: agcre_format.7,v 1.2 2017/08/17 11:02:56 wiz Exp $ .\" .\" Copyright (c) 2017 Alistair Crooks <a...@netbsd.org> .\" All rights reserved. @@ -50,22 +50,27 @@ character set. A Unicode character can be entered using the .It . Any character except ASCII NUL. +.\" XXX: missing part of a sentence here .Dq \uNNNN mechanism, where .Dq N is a hexadecimal character. .It ^ -matches the empty string at the start of the expression, as long +Matches the empty string at the start of the expression, as long as the match is not executed with the .Dv REG_NOTBOL flag to -.Xr agcre_regexec 3 . +.Fn agcre_regexec +(see +.Xr libagcre 3 ) . .It $ -matches the empty string at the end of the expression, as long +Matches the empty string at the end of the expression, as long as the match is not executed with the .Dv REG_NOTEOL flag to -.Xr agcre_regexec 3 . +.Fn agcre_regexec +(see +.Xr libagcre 3 ) . .It \ed A decimal digit character (from Perl) .It \ep @@ -84,7 +89,7 @@ Any character which is not a space chara Any character which is not an identifier character (from Perl) .It [abcdefghij] One character from a set, in this case -.Dq abcdefghij +.Dq abcdefghij . .It [a-k] Similarily, one character from the range starting at @@ -93,8 +98,7 @@ and finishing with the letter .Dq k . .It [^a-f] One character from the complement of a set or range of characters - in this -case, any character not in the range -starting at +case, any character not in the range starting at .Dq a and finishing with the letter .Dq f . @@ -125,8 +129,8 @@ character. The zerowidth string at the start of a word .It \e> The zerowidth string at the end of a word -.It -Two legacy class definitions are also recognised +.It [[:<:]], [[:>:]] +Two legacy class definitions are also recognised for the start end end of words, .Dq [[:<:]] and @@ -139,7 +143,7 @@ The zerowidth string at the beginning or .Pp Atoms may be repeated, or alternates chosen from the subexpression as a whole. -Repetition and choice of atoms can be done in a number of ways +Repetition and choice of atoms can be done in a number of ways: .Bl -tag -width concatenationXXX .It concatenation Atoms which are simply appended to each other will be matched @@ -155,7 +159,7 @@ will match 0 or more occurrences of the will match 0 or more occurrences of the preceding atom in a non-greedy manner .It + -will match 1 or more occurrences of teh preceding atom +will match 1 or more occurrences of the preceding atom .It +? will match 1 or more occurrences of the preceding atom in a non-greedy manner @@ -249,8 +253,6 @@ to the second % .Ed .Sh SEE ALSO -.Xr agcre_regcomp 3 , -.Xr agcre_regexec 3 , .Xr libagcre 3 .Sh HISTORY The