🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.git
11 messages
11 total messages Started by Junio C Hamano Fri, 30 Oct 2026 16:59
Re: Q: .gitignore and asterisk "*"
#1938
Author: Junio C Hamano
Date: Fri, 30 Oct 2026 16:59
76 lines
15840 bytes
"Windl, Ulrich" <u.windl@ukr.de> writes:

> I think the documentation for gitignore(5) could be improved regarding "*":
> It's nor clear whether "*" matches an empty string.
> So when I have
> foo.log
> foo.msg
> foo.sh
> foo-whatever.log
> foo-whetever.msg
> Would e.g. "foo*.log" cover all the logs?
>
> The manual says:
>        •   An asterisk "*" matches anything except a slash. The character "?"
>            matches any one character except "/". The range notation, e.g.
>            [a-zA-Z], can be used to match one of the characters in a range.
>            See fnmatch(3) and the FNM_PATHNAME flag for a more detailed
>            description.

Very good point.

The reference to fnmatch(3) may not make readers to consult the
documentation for the library function.  The system they are on may
not even have "man".  fnmatch(3) often refers to glob(7), which
typically would say that a '*' (not between brackets) matches any
string, including the empty string.  The reference to FNM_PATHNAME
we have there is an attempt to refer back to fnmatch(3) that would
typically say that the wildcard does not match a slash.

How about rewriting the entry like so to reduce external references?

----- >8 -----
Subject: gitignore: rewrite wildcard description

The documentation for '.gitignore' makes reference to fnmatch(3) and
FNM_PATHNAME to describe how an asterisk "*" and a question mark "?"
behave.  Even though it spells out that these wildcard characters
do not match a slash, it does not say if an asterisk matches an
empty string (it does).

Rewrite the section so that the readers would get a more complete
picture without requiring them to know what fnmatch(3) and glob(7)
says.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/gitignore.adoc | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git c/Documentation/gitignore.adoc w/Documentation/gitignore.adoc
index 7979e50f18..671a5a4c99 100644
--- c/Documentation/gitignore.adoc
+++ w/Documentation/gitignore.adoc
@@ -110,11 +110,16 @@ PATTERN FORMAT
    and `a/frotz` that is a directory (all paths are relative from
    the `.gitignore` file).
 
- - An asterisk "`*`" matches anything except a slash.
-   The character "`?`" matches any one character except "`/`".
-   The range notation, e.g. `[a-zA-Z]`, can be used to match
-   one of the characters in a range. See fnmatch(3) and the
-   FNM_PATHNAME flag for a more detailed description.
+ - An asterisk "`*`" matches string of any length, and a question mark
+   "`?`" matches any single character, but these wildcard characters
+   do not match a slash "`/`".
+
+ - A pair of brackets that enclose characters match one of the listed
+   characters, and a range notation inside them, e.g., "`[a-zA-Z]`",
+   would behave as if all the characters in the range were listed there
+   instead.  Wildcard characters "`*`" and "`?`" lose their special
+   meaning inside a pair of brackets, e.g., "`[*]`" would match an
+   asterisk and nothing else.
 
  - A backslash ("`\`") can be used to escape any character. E.g., "`\*`"
    matches a literal asterisk (and "`\a`" matches "`a`", even though
Re: Q: .gitignore and asterisk "*"
#2215
Author: Tuomas Ahola
Date: Tue, 03 Nov 2026 07:33
83 lines
13111 bytes
Junio C Hamano <gitster@pobox.com> wrote:

> "Windl, Ulrich" <u.windl@ukr.de> writes:
> 
> > I think the documentation for gitignore(5) could be improved regarding "*":
> > It's nor clear whether "*" matches an empty string.
> > So when I have
> > foo.log
> > foo.msg
> > foo.sh
> > foo-whatever.log
> > foo-whetever.msg
> > Would e.g. "foo*.log" cover all the logs?
> >
> > The manual says:
> >        •   An asterisk "*" matches anything except a slash. The character "?"
> >            matches any one character except "/". The range notation, e.g.
> >            [a-zA-Z], can be used to match one of the characters in a range.
> >            See fnmatch(3) and the FNM_PATHNAME flag for a more detailed
> >            description.
> 
> Very good point.
> 
> The reference to fnmatch(3) may not make readers to consult the
> documentation for the library function.  The system they are on may
> not even have "man".  fnmatch(3) often refers to glob(7), which
> typically would say that a '*' (not between brackets) matches any
> string, including the empty string.  The reference to FNM_PATHNAME
> we have there is an attempt to refer back to fnmatch(3) that would
> typically say that the wildcard does not match a slash.
> 
> How about rewriting the entry like so to reduce external references?
> 
> ----- >8 -----
> Subject: gitignore: rewrite wildcard description
> 
> The documentation for '.gitignore' makes reference to fnmatch(3) and
> FNM_PATHNAME to describe how an asterisk "*" and a question mark "?"
> behave.  Even though it spells out that these wildcard characters
> do not match a slash, it does not say if an asterisk matches an
> empty string (it does).
> 
> Rewrite the section so that the readers would get a more complete
> picture without requiring them to know what fnmatch(3) and glob(7)
> says.
> 
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---
>  Documentation/gitignore.adoc | 15 ++++++++++-----
>  1 file changed, 10 insertions(+), 5 deletions(-)
> 
> diff --git c/Documentation/gitignore.adoc w/Documentation/gitignore.adoc
> index 7979e50f18..671a5a4c99 100644
> --- c/Documentation/gitignore.adoc
> +++ w/Documentation/gitignore.adoc
> @@ -110,11 +110,16 @@ PATTERN FORMAT
>     and `a/frotz` that is a directory (all paths are relative from
>     the `.gitignore` file).
>  
> - - An asterisk "`*`" matches anything except a slash.
> -   The character "`?`" matches any one character except "`/`".
> -   The range notation, e.g. `[a-zA-Z]`, can be used to match
> -   one of the characters in a range. See fnmatch(3) and the
> -   FNM_PATHNAME flag for a more detailed description.
> + - An asterisk "`*`" matches string of any length, and a question mark

It's not unreasonable at all to call the empty string "a string of no length",
so it is still a bit ambiguous whether it qualifies as a string of any length.
I would suggest s/of any length/of length of zero or more/.

> +   "`?`" matches any single character, but these wildcard characters
> +   do not match a slash "`/`".
> +
> + - A pair of brackets that enclose characters match one of the listed
> +   characters, and a range notation inside them, e.g., "`[a-zA-Z]`",
> +   would behave as if all the characters in the range were listed there
> +   instead.  Wildcard characters "`*`" and "`?`" lose their special
> +   meaning inside a pair of brackets, e.g., "`[*]`" would match an
> +   asterisk and nothing else.
>  
>   - A backslash ("`\`") can be used to escape any character. E.g., "`\*`"
>     matches a literal asterisk (and "`\a`" matches "`a`", even though
Re: Q: .gitignore and asterisk "*"
#2264
Author: Junio C Hamano
Date: Tue, 03 Nov 2026 17:13
27 lines
13665 bytes
Tuomas Ahola <taahol@utu.fi> writes:

> Junio C Hamano <gitster@pobox.com> wrote:
>
>> "Windl, Ulrich" <u.windl@ukr.de> writes:

Please trim the lines that do not have any relevance to what you are
going to comment on from your quoted material.

>> - - An asterisk "`*`" matches anything except a slash.
>> -   The character "`?`" matches any one character except "`/`".
>> -   The range notation, e.g. `[a-zA-Z]`, can be used to match
>> -   one of the characters in a range. See fnmatch(3) and the
>> -   FNM_PATHNAME flag for a more detailed description.
>> + - An asterisk "`*`" matches string of any length, and a question mark
>
> It's not unreasonable at all to call the empty string "a string of no length",
> so it is still a bit ambiguous whether it qualifies as a string of any length.
> I would suggest s/of any length/of length of zero or more/.

A string of no length falls within the set of strings of any length,
so I do not see any ambiguity there.

"A string of length of zero or more" is a roundabout way to say "any
string" as by definition there is no string of negative length.
Perhaps that is good enough?
Re: Q: .gitignore and asterisk "*"
#2270
Author: Tuomas Ahola
Date: Tue, 03 Nov 2026 17:29
40 lines
10963 bytes
Junio C Hamano <gitster@pobox.com> wrote:

> Tuomas Ahola <taahol@utu.fi> writes:
> 
> > Junio C Hamano <gitster@pobox.com> wrote:
> >
> >> "Windl, Ulrich" <u.windl@ukr.de> writes:
> 
> Please trim the lines that do not have any relevance to what you are
> going to comment on from your quoted material.
> 
> >> - - An asterisk "`*`" matches anything except a slash.
> >> -   The character "`?`" matches any one character except "`/`".
> >> -   The range notation, e.g. `[a-zA-Z]`, can be used to match
> >> -   one of the characters in a range. See fnmatch(3) and the
> >> -   FNM_PATHNAME flag for a more detailed description.
> >> + - An asterisk "`*`" matches string of any length, and a question mark
> >
> > It's not unreasonable at all to call the empty string "a string of no length",
> > so it is still a bit ambiguous whether it qualifies as a string of any length.
> > I would suggest s/of any length/of length of zero or more/.
> 
> A string of no length falls within the set of strings of any length,
> so I do not see any ambiguity there.
> 
> "A string of length of zero or more" is a roundabout way to say "any
> string" as by definition there is no string of negative length.
> Perhaps that is good enough?

As you wish, although I would like to point that both Linux and BSD versions of
glob(7) are quite explicit in their wording:

	A '*' (not between brackets) matches any string, including the empty string.

and

	*  Matches any sequence of zero or more characters.

(Just thinking aloud.)
[PATCH v2] gitignore: rewrite wildcard description
#2292
Author: Junio C Hamano
Date: Tue, 03 Nov 2026 22:40
66 lines
15381 bytes
The documentation for '.gitignore' makes reference to fnmatch(3) and
FNM_PATHNAME to describe how an asterisk "*" and a question mark "?"
behave.  Even though it spells out that these wildcard characters
do not match a slash, it does not say if an asterisk matches an
empty string (it does).

Rewrite the section so that the readers would get a more complete
picture without requiring them to know what fnmatch(3) and glob(7)
says.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 * let's adopt the most explicit "(including the empty string)"
   from glob(7).

 Documentation/gitignore.adoc | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/Documentation/gitignore.adoc b/Documentation/gitignore.adoc
index 7979e50f18..87f37c2b0c 100644
--- a/Documentation/gitignore.adoc
+++ b/Documentation/gitignore.adoc
@@ -110,11 +110,16 @@ PATTERN FORMAT
    and `a/frotz` that is a directory (all paths are relative from
    the `.gitignore` file).
 
- - An asterisk "`*`" matches anything except a slash.
-   The character "`?`" matches any one character except "`/`".
-   The range notation, e.g. `[a-zA-Z]`, can be used to match
-   one of the characters in a range. See fnmatch(3) and the
-   FNM_PATHNAME flag for a more detailed description.
+ - An asterisk "`*`" matches any string (including the empty string),
+   and a question mark "`?`" matches any single character, but these
+   wildcard characters do not match a slash "`/`".
+
+ - A pair of brackets that enclose characters match one of the listed
+   characters, and a range notation inside them, e.g., "`[a-zA-Z]`",
+   would behave as if all the characters in the range were listed there
+   instead.  Wildcard characters "`*`" and "`?`" lose their special
+   meaning inside a pair of brackets, e.g., "`[*]`" would match an
+   asterisk and nothing else.
 
  - A backslash ("`\`") can be used to escape any character. E.g., "`\*`"
    matches a literal asterisk (and "`\a`" matches "`a`", even though

Interdiff:
  diff --git a/Documentation/gitignore.adoc b/Documentation/gitignore.adoc
  index 671a5a4c99..87f37c2b0c 100644
  --- a/Documentation/gitignore.adoc
  +++ b/Documentation/gitignore.adoc
  @@ -110,9 +110,9 @@ PATTERN FORMAT
      and `a/frotz` that is a directory (all paths are relative from
      the `.gitignore` file).
   
  - - An asterisk "`*`" matches string of any length, and a question mark
  -   "`?`" matches any single character, but these wildcard characters
  -   do not match a slash "`/`".
  + - An asterisk "`*`" matches any string (including the empty string),
  +   and a question mark "`?`" matches any single character, but these
  +   wildcard characters do not match a slash "`/`".
   
    - A pair of brackets that enclose characters match one of the listed
      characters, and a range notation inside them, e.g., "`[a-zA-Z]`",
-- 
2.56.0-511-g14903f623d
Re: [PATCH v2] gitignore: rewrite wildcard description
#4020
Author: "Matt Hunter"
Date: Sat, 28 Nov 2026 07:13
19 lines
8528 bytes
On Tue Nov 3, 2026 at 5:40 PM EST, Junio C Hamano wrote:
> The documentation for '.gitignore' makes reference to fnmatch(3) and
> FNM_PATHNAME to describe how an asterisk "*" and a question mark "?"
> behave.  Even though it spells out that these wildcard characters
> do not match a slash, it does not say if an asterisk matches an
> empty string (it does).
>
> Rewrite the section so that the readers would get a more complete
> picture without requiring them to know what fnmatch(3) and glob(7)
> says.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---

I see this patch has been stalled for going on a month with no feedback.

However the rewritten section, with its new explicit wording, looks good
and clear to me.
[PATCH v3] gitignore: rewrite wildcard description
#4045
Author: Junio C Hamano
Date: Sat, 28 Nov 2026 19:01
91 lines
16880 bytes
The documentation for '.gitignore' makes reference to fnmatch(3) and
FNM_PATHNAME to describe how an asterisk "*" and a question mark "?"
behave.  Even though it spells out that these wildcard characters
do not match a slash, it does not say if an asterisk matches an
empty string (it does).

Rewrite the section so that the readers would get a more complete
picture without requiring them to know what fnmatch(3) and glob(7)
say.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Changes since v2 are

 - grammofix in log message, i.e., "what fnmatch(3) and glob(7) say"
   (not "says").

 - we forgot a few rules around bracketed character classes that we
   relied on our reference to fnmatch(3) with FNM_PATHNAME to cover,
   which we now need to supply ourselves.

   - [bracketed list of characters] does not match a slash '/', even if
     a slash or a range that includes a slash like ".-0" appears inside
     brackets.

   - The first character in [bracket] can be "^" or "!" to negate the
     meaning of a match.

 Documentation/gitignore.adoc | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/Documentation/gitignore.adoc b/Documentation/gitignore.adoc
index 7979e50f18..de010aa5db 100644
--- a/Documentation/gitignore.adoc
+++ b/Documentation/gitignore.adoc
@@ -110,11 +110,19 @@ PATTERN FORMAT
    and `a/frotz` that is a directory (all paths are relative from
    the `.gitignore` file).
 
- - An asterisk "`*`" matches anything except a slash.
-   The character "`?`" matches any one character except "`/`".
-   The range notation, e.g. `[a-zA-Z]`, can be used to match
-   one of the characters in a range. See fnmatch(3) and the
-   FNM_PATHNAME flag for a more detailed description.
+ - An asterisk "`*`" matches any string (including the empty string),
+   and a question mark "`?`" matches any single character, but these
+   wildcard characters do not match a slash "`/`".
+
+ - A pair of brackets that enclose characters matches any single
+   character from the listed characters, other than a slash "`/`".  A
+   range notation inside them, e.g., "`[a-zA-Z]`", behaves as if all
+   the characters in the range were listed there instead, and a
+   leading "`!`" or "`^`" negates the match (still excluding "`/`").
+   Note that even a range that apparently includes a slash, like
+   "`[.-0]`" or "`[/]`", does not match a slash "`/`".  Wildcard
+   characters "`*`" and "`?`" lose their special meaning inside a pair
+   of brackets, e.g., "`[*]`" matches an asterisk and nothing else.
 
  - A backslash ("`\`") can be used to escape any character. E.g., "`\*`"
    matches a literal asterisk (and "`\a`" matches "`a`", even though

Interdiff against v1:
  diff --git a/Documentation/gitignore.adoc b/Documentation/gitignore.adoc
  index 87f37c2b0c..de010aa5db 100644
  --- a/Documentation/gitignore.adoc
  +++ b/Documentation/gitignore.adoc
  @@ -114,12 +114,15 @@ PATTERN FORMAT
      and a question mark "`?`" matches any single character, but these
      wildcard characters do not match a slash "`/`".
   
  - - A pair of brackets that enclose characters match one of the listed
  -   characters, and a range notation inside them, e.g., "`[a-zA-Z]`",
  -   would behave as if all the characters in the range were listed there
  -   instead.  Wildcard characters "`*`" and "`?`" lose their special
  -   meaning inside a pair of brackets, e.g., "`[*]`" would match an
  -   asterisk and nothing else.
  + - A pair of brackets that enclose characters matches any single
  +   character from the listed characters, other than a slash "`/`".  A
  +   range notation inside them, e.g., "`[a-zA-Z]`", behaves as if all
  +   the characters in the range were listed there instead, and a
  +   leading "`!`" or "`^`" negates the match (still excluding "`/`").
  +   Note that even a range that apparently includes a slash, like
  +   "`[.-0]`" or "`[/]`", does not match a slash "`/`".  Wildcard
  +   characters "`*`" and "`?`" lose their special meaning inside a pair
  +   of brackets, e.g., "`[*]`" matches an asterisk and nothing else.
   
    - A backslash ("`\`") can be used to escape any character. E.g., "`\*`"
      matches a literal asterisk (and "`\a`" matches "`a`", even though
-- 
2.56.1-817-g003c1d851b
Re: [PATCH v2] gitignore: rewrite wildcard description
#4046
Author: Junio C Hamano
Date: Sat, 28 Nov 2026 19:03
25 lines
13583 bytes
"Matt Hunter" <m@lfurio.us> writes:

> On Tue Nov 3, 2026 at 5:40 PM EST, Junio C Hamano wrote:
>> The documentation for '.gitignore' makes reference to fnmatch(3) and
>> FNM_PATHNAME to describe how an asterisk "*" and a question mark "?"
>> behave.  Even though it spells out that these wildcard characters
>> do not match a slash, it does not say if an asterisk matches an
>> empty string (it does).
>>
>> Rewrite the section so that the readers would get a more complete
>> picture without requiring them to know what fnmatch(3) and glob(7)
>> says.
>>
>> Signed-off-by: Junio C Hamano <gitster@pobox.com>
>> ---
>
> I see this patch has been stalled for going on a month with no feedback.
>
> However the rewritten section, with its new explicit wording, looks good
> and clear to me.

Thanks for a reminder.  I re-read it as if it were a new submission by
somebody else, as the context that led to the patch has been all paged
out of my brain ;-), and found a few nits.  I'll send out a v3 now.
Re: [PATCH v3] gitignore: rewrite wildcard description
#4066
Author: "Matt Hunter"
Date: Sun, 29 Nov 2026 09:16
34 lines
9632 bytes
On Sat Nov 28, 2026 at 2:01 PM EST, Junio C Hamano wrote:
>
> + - A pair of brackets that enclose characters matches any single
> +   character from the listed characters, other than a slash "`/`".  A
> +   range notation inside them, e.g., "`[a-zA-Z]`", behaves as if all
> +   the characters in the range were listed there instead, and a
> +   leading "`!`" or "`^`" negates the match (still excluding "`/`").
> +   Note that even a range that apparently includes a slash, like
> +   "`[.-0]`" or "`[/]`", does not match a slash "`/`".  Wildcard
> +   characters "`*`" and "`?`" lose their special meaning inside a pair
> +   of brackets, e.g., "`[*]`" matches an asterisk and nothing else.

It's unfortunate how long this bullet becomes with all the interjections
stating "/" is excluded.  I tried to write a version of this myself to
condense the explanation.  It's not much shorter, but is maybe easier to
follow?  I dunno.

   - A pair of brackets that enclose characters matches any single
     character from the listed characters, and a range notation inside
     them, e.g., "`[a-zA-Z]`", behaves as if all the characters in the
     range were listed there instead.  However a leading "`!`" or "`^`"
     negates the list.  A slash character "`/`" can not be matched using
     this construct, even if the list is negated or a range containing a
     slash is present.  Wildcard characters "`*`" and "`?`" lose their
     special meaning inside a pair of brackets, e.g., "`[*]`" matches an
     asterisk and nothing else.

>  
>   - A backslash ("`\`") can be used to escape any character. E.g., "`\*`"
>     matches a literal asterisk (and "`\a`" matches "`a`", even though

I noticed there is another reference to fnmatch(3) in the following
bullet, which appears to be the last remaining one in the document.
Re: [PATCH v3] gitignore: rewrite wildcard description
#4083
Author: Junio C Hamano
Date: Sun, 29 Nov 2026 19:50
53 lines
14976 bytes
"Matt Hunter" <m@lfurio.us> writes:

> It's unfortunate how long this bullet becomes with all the interjections
> stating "/" is excluded.  I tried to write a version of this myself to
> condense the explanation.  It's not much shorter, but is maybe easier to
> follow?  I dunno.
>
>    - A pair of brackets that enclose characters matches any single
>      character from the listed characters, and a range notation inside
>      them, e.g., "`[a-zA-Z]`", behaves as if all the characters in the
>      range were listed there instead.  However a leading "`!`" or "`^`"
>      negates the list.  A slash character "`/`" can not be matched using
>      this construct, even if the list is negated or a range containing a
>      slash is present.  Wildcard characters "`*`" and "`?`" lose their
>      special meaning inside a pair of brackets, e.g., "`[*]`" matches an
>      asterisk and nothing else.

This improves over mine on two points by unifying the cases to have
individual characters case and character range in a pair of
brackets, and by stating more explicitly how negation and '/'
exclusion interacts.  It probably makes sense to fold the [*?]  into
the description on "any single character from the listed characters".

	... listed there instead.  Wildcard characters "`*`" and
	"`?`"' lose their special meaning inside a pair of brackets,
	e.g., ... nothing else.

I personally feel that this also disimproves on two points, though.

 - "However a leading ... negates the list." makes it sound as if it
   is a bad thing.  It is an additional useful feature, and I'd
   prefer to phrase it as such.  E.g.,

	The list can be negated by having "`!`" or "`^`" as the
	first character in the bracket, e.g., "`[^0-9]`" matches
	characters that are not ASCII digits.

 - "A slash character cannot be matched" also makes it sound as if
   it is a bad thing.  Wildcard sequence matching only one path
   component at a time is a feature, and I'd prefer to phrase it as
   such.

	Neither bracket construct (negated or not) nor a wildcard
	matches the slash "`!`" character, which is matched only by
	itself (e.g., the pattern "`a/b*`" matches `a/bc` but not
	`a/b/c`).

Also, it might make it easier to read if we split this large single
bullet into three, by the way.  (1) brackets, (2) negation, (3)
slash-exclusion.

What do you think?
Re: [PATCH v3] gitignore: rewrite wildcard description
#4097
Author: "Matt Hunter"
Date: Mon, 30 Nov 2026 04:53
61 lines
10071 bytes
On Sun Nov 29, 2026 at 2:50 PM EST, Junio C Hamano wrote:
>
> This improves over mine on two points by unifying the cases to have
> individual characters case and character range in a pair of
> brackets, and by stating more explicitly how negation and '/'
> exclusion interacts.  It probably makes sense to fold the [*?]  into
> the description on "any single character from the listed characters".
>
> 	... listed there instead.  Wildcard characters "`*`" and
> 	"`?`"' lose their special meaning inside a pair of brackets,
> 	e.g., ... nothing else.

Agreed

>
> I personally feel that this also disimproves on two points, though.
>
>  - "However a leading ... negates the list." makes it sound as if it
>    is a bad thing.  It is an additional useful feature, and I'd
>    prefer to phrase it as such.  E.g.,
>
> 	The list can be negated by having "`!`" or "`^`" as the
> 	first character in the bracket, e.g., "`[^0-9]`" matches
> 	characters that are not ASCII digits.

If the interpretation here of "negates the list" is to apply some bad
attribute to the list, you could revert back to your phrasing "negates
the match" instead.  Another possible wording is "invert" instead of
"negate".

I like what you propose here too, especially if splitting the bullet up
like mentioned below.  Though as a separate bullet, I would make this
change for context:

s/The list/A bracketed list/  (or something like that)

>
>  - "A slash character cannot be matched" also makes it sound as if
>    it is a bad thing.  Wildcard sequence matching only one path
>    component at a time is a feature, and I'd prefer to phrase it as
>    such.
>
> 	Neither bracket construct (negated or not) nor a wildcard
> 	matches the slash "`!`" character, which is matched only by

"`/`"

> 	itself (e.g., the pattern "`a/b*`" matches `a/bc` but not
> 	`a/b/c`).

This reads well as its own bullet as well.

>
> Also, it might make it easier to read if we split this large single
> bullet into three, by the way.  (1) brackets, (2) negation, (3)
> slash-exclusion.
>
> What do you think?

As hinted above, I'm in favor of splitting it up this way.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads