Fossil SCM

With examples split into their own list, switch back to compacted bullet lists.

rberteig 2017-04-20 18:53 glob-docs
Commit 8ce3e9a66daa2db311e0aec655a3780d3ca2a49dc8a3696094ec29b8b499ea81
1 file changed -13
-13
--- www/globs.md
+++ www/globs.md
@@ -58,51 +58,38 @@
5858
Special character sequences have some additional features:
5959
6060
* A range of characters may be specified with `-`, so `[a-d]` matches
6161
exactly the same characters as `[abcd]`. Ranges reflect Unicode
6262
code points without any locale-specific collation sequence.
63
-
6463
* Include `-` in a list by placing it last, just before the `]`.
65
-
6664
* Include `]` in a list by making the first character after the `[` or
6765
`[^`. At any other place, `]` ends the list.
68
-
6966
* Include `^` in a list by placing anywhere except first after the
7067
`[`.
71
-
7268
* Beware that ranges in lists may include more than you expect:
7369
`[A-z]` Matches `A` and `Z`, but also matches `a` and some less
7470
obvious characters such as `[`, `\`, and `]` with code point
7571
values between `Z` and `a`.
76
-
7772
* Beware that a range must be specified from low value to high
7873
value: `[z-a]` does not match any character at all, preventing the
7974
entire glob from matching.
80
-
8175
* Note that unlike typical Unix shell globs, wildcards (`*`, `?`,
8276
and character lists) are allowed to match `/` directory
8377
separators as well as the initial `.` in the name of a hidden
8478
file or directory.
8579
8680
8781
Some examples of character lists:
8882
8983
* `[a-d]` Matches any one of `a`, `b`, `c`, or `d` but not `ä`;
90
-
9184
* `[^a-d]` Matches exactly one character other than `a`, `b`, `c`,
9285
or `d`;
93
-
9486
* `[0-9a-fA-F]` Matches exactly one hexadecimal digit;
95
-
9687
* `[a-]` Matches either `a` or `-`;
97
-
9888
* `[][]` Matches either `]` or `[`;
99
-
10089
* `[^]]` Matches exactly one character other than `]`;
101
-
10290
* `[]^]` Matches either `]` or `^`; and
103
-
10491
* `[^-]` Matches exactly one character other than `-`.
10592
10693
White space means the ASCII characters TAB, LF, VT, FF, CR, and SPACE.
10794
Note that this does not include any of the many additional spacing
10895
characters available in Unicode, and specifically does not include
10996
--- www/globs.md
+++ www/globs.md
@@ -58,51 +58,38 @@
58 Special character sequences have some additional features:
59
60 * A range of characters may be specified with `-`, so `[a-d]` matches
61 exactly the same characters as `[abcd]`. Ranges reflect Unicode
62 code points without any locale-specific collation sequence.
63
64 * Include `-` in a list by placing it last, just before the `]`.
65
66 * Include `]` in a list by making the first character after the `[` or
67 `[^`. At any other place, `]` ends the list.
68
69 * Include `^` in a list by placing anywhere except first after the
70 `[`.
71
72 * Beware that ranges in lists may include more than you expect:
73 `[A-z]` Matches `A` and `Z`, but also matches `a` and some less
74 obvious characters such as `[`, `\`, and `]` with code point
75 values between `Z` and `a`.
76
77 * Beware that a range must be specified from low value to high
78 value: `[z-a]` does not match any character at all, preventing the
79 entire glob from matching.
80
81 * Note that unlike typical Unix shell globs, wildcards (`*`, `?`,
82 and character lists) are allowed to match `/` directory
83 separators as well as the initial `.` in the name of a hidden
84 file or directory.
85
86
87 Some examples of character lists:
88
89 * `[a-d]` Matches any one of `a`, `b`, `c`, or `d` but not `ä`;
90
91 * `[^a-d]` Matches exactly one character other than `a`, `b`, `c`,
92 or `d`;
93
94 * `[0-9a-fA-F]` Matches exactly one hexadecimal digit;
95
96 * `[a-]` Matches either `a` or `-`;
97
98 * `[][]` Matches either `]` or `[`;
99
100 * `[^]]` Matches exactly one character other than `]`;
101
102 * `[]^]` Matches either `]` or `^`; and
103
104 * `[^-]` Matches exactly one character other than `-`.
105
106 White space means the ASCII characters TAB, LF, VT, FF, CR, and SPACE.
107 Note that this does not include any of the many additional spacing
108 characters available in Unicode, and specifically does not include
109
--- www/globs.md
+++ www/globs.md
@@ -58,51 +58,38 @@
58 Special character sequences have some additional features:
59
60 * A range of characters may be specified with `-`, so `[a-d]` matches
61 exactly the same characters as `[abcd]`. Ranges reflect Unicode
62 code points without any locale-specific collation sequence.
 
63 * Include `-` in a list by placing it last, just before the `]`.
 
64 * Include `]` in a list by making the first character after the `[` or
65 `[^`. At any other place, `]` ends the list.
 
66 * Include `^` in a list by placing anywhere except first after the
67 `[`.
 
68 * Beware that ranges in lists may include more than you expect:
69 `[A-z]` Matches `A` and `Z`, but also matches `a` and some less
70 obvious characters such as `[`, `\`, and `]` with code point
71 values between `Z` and `a`.
 
72 * Beware that a range must be specified from low value to high
73 value: `[z-a]` does not match any character at all, preventing the
74 entire glob from matching.
 
75 * Note that unlike typical Unix shell globs, wildcards (`*`, `?`,
76 and character lists) are allowed to match `/` directory
77 separators as well as the initial `.` in the name of a hidden
78 file or directory.
79
80
81 Some examples of character lists:
82
83 * `[a-d]` Matches any one of `a`, `b`, `c`, or `d` but not `ä`;
 
84 * `[^a-d]` Matches exactly one character other than `a`, `b`, `c`,
85 or `d`;
 
86 * `[0-9a-fA-F]` Matches exactly one hexadecimal digit;
 
87 * `[a-]` Matches either `a` or `-`;
 
88 * `[][]` Matches either `]` or `[`;
 
89 * `[^]]` Matches exactly one character other than `]`;
 
90 * `[]^]` Matches either `]` or `^`; and
 
91 * `[^-]` Matches exactly one character other than `-`.
92
93 White space means the ASCII characters TAB, LF, VT, FF, CR, and SPACE.
94 Note that this does not include any of the many additional spacing
95 characters available in Unicode, and specifically does not include
96

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button