Fossil SCM

Tweak format of initial list of special characters to match format of examples given two sections below

andygoth 2017-05-04 14:52 glob-docs
Commit 160b9852ba2b8a83f662b36a0fa6e3cf30a10932233de86766aee1dc7f6cd5f3
1 file changed +4 -5
+4 -5
--- www/globs.md
+++ www/globs.md
@@ -48,14 +48,14 @@
4848
4949
Special characters (and special character sequences) consume zero or
5050
more characters from the target and describe what matches. The special
5151
characters (and sequences) are:
5252
53
- * Matches any sequence of zero or more characters.
54
- ? Matches exactly one character.
55
- [...] Matches one character from the enclosed list of characters.
56
- [^...] Matches one character not in the enclosed list.
53
+ * `*` Matches any sequence of zero or more characters;
54
+ * `?` Matches exactly one character;
55
+ * `[...]` Matches one character from the enclosed list of characters; and
56
+ * `[^...]` Matches one character not in the enclosed list.
5757
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
@@ -74,11 +74,10 @@
7474
entire glob from matching.
7575
* Note that unlike typical Unix shell globs, wildcards (`*`, `?`,
7676
and character lists) are allowed to match `/` directory
7777
separators as well as the initial `.` in the name of a hidden
7878
file or directory.
79
-
8079
8180
Some examples of character lists:
8281
8382
* `[a-d]` Matches any one of `a`, `b`, `c`, or `d` but not `ä`;
8483
* `[^a-d]` Matches exactly one character other than `a`, `b`, `c`,
8584
--- www/globs.md
+++ www/globs.md
@@ -48,14 +48,14 @@
48
49 Special characters (and special character sequences) consume zero or
50 more characters from the target and describe what matches. The special
51 characters (and sequences) are:
52
53 * Matches any sequence of zero or more characters.
54 ? Matches exactly one character.
55 [...] Matches one character from the enclosed list of characters.
56 [^...] Matches one character not in the enclosed list.
57
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
@@ -74,11 +74,10 @@
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
--- www/globs.md
+++ www/globs.md
@@ -48,14 +48,14 @@
48
49 Special characters (and special character sequences) consume zero or
50 more characters from the target and describe what matches. The special
51 characters (and sequences) are:
52
53 * `*` Matches any sequence of zero or more characters;
54 * `?` Matches exactly one character;
55 * `[...]` Matches one character from the enclosed list of characters; and
56 * `[^...]` Matches one character not in the enclosed list.
57
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
@@ -74,11 +74,10 @@
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 Some examples of character lists:
81
82 * `[a-d]` Matches any one of `a`, `b`, `c`, or `d` but not `ä`;
83 * `[^a-d]` Matches exactly one character other than `a`, `b`, `c`,
84

Keyboard Shortcuts

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