Fossil

Check-in [d862cb71]
Login

Check-in [d862cb71]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:globs.md: clarified that globs apply to the whole dir/filename combination without any awareness/special treatment of the directory part, as suggested in forum post 6637b92a6a17a6bc.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d862cb71d6266449f12b64d32e3819aa4f9ca2e9be5cbca217eae46614bdd08d
User & Date: stephan 2022-02-26 01:36:21
Context
2022-02-26
14:37
Removed ENABLE_JSON1 flag from tools/sqlcompattest.c because that flag is no longer in sqlite3 as of 3.38, which is the current minimum required version. Reported in forum post 549da79dd9. ... (check-in: 8af82734 user: stephan tags: trunk)
01:36
globs.md: clarified that globs apply to the whole dir/filename combination without any awareness/special treatment of the directory part, as suggested in forum post 6637b92a6a17a6bc. ... (check-in: d862cb71 user: stephan tags: trunk)
2022-02-25
17:43
Increase the version number to 2.19 to begin the next development cycle. ... (check-in: 8f0a7ace user: drh tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to www/globs.md.

1
2
3
4
5
6
7





8
9
10
11
12
13
14
# File Name Glob Patterns


A [glob pattern][glob] is a text expression that matches one or more
file names using wild cards familiar to most users of a command line.
For example, `*` is a glob that matches any name at all and
`Readme.txt` is a glob that matches exactly one file.






A glob should not be confused with a [regular expression][regexp] (RE),
even though they use some of the same special characters for similar
purposes, because [they are not fully compatible][greinc] pattern
matching languages. Fossil uses globs when matching file names with the
settings described in this document, not REs.







|
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File Name Glob Patterns


A [glob pattern][glob] is a text expression that matches one or more
file names using wild cards familiar to most users of a command line.
For example, `*` is a glob that matches any name at all and
`Readme.txt` is a glob that matches exactly one file. For purposes of
Fossil's globs, a file name with a directory prefix is "just a string"
and the globs do not apply any special meaning to the directory part
of the name. Thus the glob `*` matches any name, including any
directory prefix, and `*/*` matches a name with _one or more_
directory components.

A glob should not be confused with a [regular expression][regexp] (RE),
even though they use some of the same special characters for similar
purposes, because [they are not fully compatible][greinc] pattern
matching languages. Fossil uses globs when matching file names with the
settings described in this document, not REs.