Print this page
3768 fnmatch(5) is worded poorly
*** 12,25 ****
regular expression notation. For this reason, the description of the
rules for this pattern matching notation is based on the description of
regular expression notation described on the regex(5) manual page.
Patterns Matching a Single Character
! The following patterns matching a single character match a single
! character: ordinary characters, special pattern characters and pattern
! bracket expressions. The pattern bracket expression will also match a
! single collating element.
An ordinary character is a pattern that matches itself. It can be any
character in the supported character set except for NUL, those special
shell characters that require quoting, and the following three special
--- 12,24 ----
regular expression notation. For this reason, the description of the
rules for this pattern matching notation is based on the description of
regular expression notation described on the regex(5) manual page.
Patterns Matching a Single Character
! The following patterns match a single character: ordinary characters,
! special pattern characters and pattern bracket expressions. The pattern
! bracket expression will also match a single collating element.
An ordinary character is a pattern that matches itself. It can be any
character in the supported character set except for NUL, those special
shell characters that require quoting, and the following three special
*** 231,236 ****
SEE ALSO
find(1), ksh(1), fnmatch(3C), regex(5)
! March 28, 1995 FNMATCH(5)
--- 230,235 ----
SEE ALSO
find(1), ksh(1), fnmatch(3C), regex(5)
! June 14, 2015 FNMATCH(5)