mirror of
https://https.git.savannah.gnu.org/git/findutils.git
synced 2026-01-26 07:37:52 +00:00
gnulib: bring up-to-date with current git head of gnulib.
This fixes Savannah bug #46715 ("testsuite error with perl 5.22, gnulib outdated"). * doc/regexprops.texi: Regenerate this file from gnulib's changed regular expression dialect definitions regex.h. The effect is for regex types egrep and posix-egrep to become synonyms. * NEWS: Mention this change.
This commit is contained in:
parent
b96b2cd4d4
commit
99ad928840
10
NEWS
10
NEWS
@ -2,11 +2,19 @@ GNU findutils NEWS - User visible changes. -*- outline -*- (allout)
|
||||
|
||||
* Major changes in release 4.5.16-git, 2015-12-DD
|
||||
|
||||
** Translations
|
||||
** Functional Changes to find
|
||||
Using -regextype egrep now has the same effect -regextype
|
||||
posix-egrep. This is the result of a change to gnulib to bring it
|
||||
into line with GNU grep (see
|
||||
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20974#22).
|
||||
|
||||
** Translations
|
||||
Updated translations: Estonian, Swedish, Polish, Vietnamese, Ukranian,
|
||||
Norwegian Bokmaal, Czech, Russian, French, Hungarian.
|
||||
|
||||
** Bug Fixes:
|
||||
#46715: testsuite error with perl 5.22, gnulib outdated
|
||||
|
||||
* Major changes in release 4.5.15, 2015-12-18
|
||||
|
||||
** Bug Fixes
|
||||
|
||||
@ -165,7 +165,7 @@ The longest possible match is returned; this applies to the regular expression a
|
||||
@subsection @samp{egrep} regular expression syntax
|
||||
|
||||
|
||||
The character @samp{.} matches any single character except newline.
|
||||
The character @samp{.} matches any single character.
|
||||
|
||||
|
||||
@table @samp
|
||||
@ -181,7 +181,7 @@ matches a @samp{?}.
|
||||
@end table
|
||||
|
||||
|
||||
Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are ignored. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. Non-matching lists @samp{[^@dots{}]} do not ever match newline.
|
||||
Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit.
|
||||
|
||||
GNU extensions are supported:
|
||||
@enumerate
|
||||
@ -205,7 +205,7 @@ GNU extensions are supported:
|
||||
@end enumerate
|
||||
|
||||
|
||||
Grouping is performed with parentheses @samp{()}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}.
|
||||
Grouping is performed with parentheses @samp{()}. An unmatched @samp{)} matches just itself. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}.
|
||||
|
||||
The alternation operator is @samp{|}.
|
||||
|
||||
@ -213,7 +213,7 @@ The characters @samp{^} and @samp{$} always represent the beginning and end of a
|
||||
|
||||
The characters @samp{*}, @samp{+} and @samp{?} are special anywhere in a regular expression.
|
||||
|
||||
|
||||
Intervals are specified by @samp{@{} and @samp{@}}. Invalid intervals are treated as literals, for example @samp{a@{1} is treated as @samp{a\@{1}
|
||||
|
||||
The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups.
|
||||
|
||||
@ -380,7 +380,7 @@ The longest possible match is returned; this applies to the regular expression a
|
||||
@subsection @samp{grep} regular expression syntax
|
||||
|
||||
|
||||
The character @samp{.} matches any single character except newline.
|
||||
The character @samp{.} matches any single character.
|
||||
|
||||
|
||||
@table @samp
|
||||
@ -394,7 +394,7 @@ match themselves.
|
||||
@end table
|
||||
|
||||
|
||||
Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are ignored. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. Non-matching lists @samp{[^@dots{}]} do not ever match newline.
|
||||
Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are invalid. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit.
|
||||
|
||||
GNU extensions are supported:
|
||||
@enumerate
|
||||
@ -523,61 +523,7 @@ The longest possible match is returned; this applies to the regular expression a
|
||||
This is a synonym for ed.
|
||||
@node posix-egrep regular expression syntax
|
||||
@subsection @samp{posix-egrep} regular expression syntax
|
||||
|
||||
|
||||
The character @samp{.} matches any single character except newline.
|
||||
|
||||
|
||||
@table @samp
|
||||
|
||||
@item +
|
||||
indicates that the regular expression should match one or more occurrences of the previous atom or regexp.
|
||||
@item ?
|
||||
indicates that the regular expression should match zero or one occurrence of the previous atom or regexp.
|
||||
@item \+
|
||||
matches a @samp{+}
|
||||
@item \?
|
||||
matches a @samp{?}.
|
||||
@end table
|
||||
|
||||
|
||||
Bracket expressions are used to match ranges of characters. Bracket expressions where the range is backward, for example @samp{[z-a]}, are ignored. Within square brackets, @samp{\} is taken literally. Character classes are supported; for example @samp{[[:digit:]]} will match a single decimal digit. Non-matching lists @samp{[^@dots{}]} do not ever match newline.
|
||||
|
||||
GNU extensions are supported:
|
||||
@enumerate
|
||||
|
||||
@item @samp{\w} matches a character within a word
|
||||
|
||||
@item @samp{\W} matches a character which is not within a word
|
||||
|
||||
@item @samp{\<} matches the beginning of a word
|
||||
|
||||
@item @samp{\>} matches the end of a word
|
||||
|
||||
@item @samp{\b} matches a word boundary
|
||||
|
||||
@item @samp{\B} matches characters which are not a word boundary
|
||||
|
||||
@item @samp{\`} matches the beginning of the whole input
|
||||
|
||||
@item @samp{\'} matches the end of the whole input
|
||||
|
||||
@end enumerate
|
||||
|
||||
|
||||
Grouping is performed with parentheses @samp{()}. A backslash followed by a digit acts as a back-reference and matches the same thing as the previous grouped expression indicated by that number. For example @samp{\2} matches the second group expression. The order of group expressions is determined by the position of their opening parenthesis @samp{(}.
|
||||
|
||||
The alternation operator is @samp{|}.
|
||||
|
||||
The characters @samp{^} and @samp{$} always represent the beginning and end of a string respectively, except within square brackets. Within brackets, @samp{^} can be used to invert the membership of the character class being specified.
|
||||
|
||||
The characters @samp{*}, @samp{+} and @samp{?} are special anywhere in a regular expression.
|
||||
|
||||
Intervals are specified by @samp{@{} and @samp{@}}. Invalid intervals are treated as literals, for example @samp{a@{1} is treated as @samp{a\@{1}
|
||||
|
||||
The longest possible match is returned; this applies to the regular expression as a whole and (subject to this constraint) to subexpressions within groups.
|
||||
|
||||
|
||||
This is a synonym for egrep.
|
||||
@node posix-extended regular expression syntax
|
||||
@subsection @samp{posix-extended} regular expression syntax
|
||||
|
||||
|
||||
2
gnulib
2
gnulib
@ -1 +1 @@
|
||||
Subproject commit 94ee038129c3b40510ef0ff6ac6ddfe85bf0f97f
|
||||
Subproject commit c97b8b9030de7c9a9f9f6d7dcdc3505c6b3f7f98
|
||||
Loading…
x
Reference in New Issue
Block a user