Fossil SCM

Consistently use ` instead of ' to surround individual characters

andygoth 2017-04-16 01:11 glob-docs
Commit 565685b5c8d041a3b83920e20f6a24b7bf58a4be913925e842ba2d0f09e35d1f
1 file changed +7 -7
+7 -7
--- www/globs.md
+++ www/globs.md
@@ -39,21 +39,21 @@
3939
`[`.
4040
4141
4242
Some examples:
4343
44
- [a-d] Matches any one of 'a', 'b', 'c', or 'd'
45
- [a-] Matches either 'a' or '-'
46
- [][] Matches either ']' or '['
47
- [^]] Matches exactly one character other than ']'
48
- []^] Matches either ']' or '^'
44
+ [a-d] Matches any one of `a`, `b`, `c`, or `d`
45
+ [a-] Matches either `a` or `-`
46
+ [][] Matches either `]` or `[`
47
+ [^]] Matches exactly one character other than `]`
48
+ []^] Matches either `]` or `^`
4949
5050
The glob is compared to the canonical name of the file in the checkout
5151
tree, and must match the entire name to be considered a match.
5252
5353
Unlike typical Unix shell globs, wildcard sequences are allowed to
54
-match '/' directory separators as well as the initial '.' in the name
54
+match `/` directory separators as well as the initial `.` in the name
5555
of a hidden file or directory.
5656
5757
A list of GLOBs is simply one or more GLOBs separated by whitespace or
5858
commas. If a GLOB must contain a space or comma, it can be quoted with
5959
either single or double quotation marks.
@@ -75,11 +75,11 @@
7575
The simplest GLOB pattern is just a bare name of a file named with the
7676
usual assortment of allowed file name characters. Such a pattern
7777
matches that one file: the GLOB `README` matches only a file named
7878
`README` in the root of the tree. The GLOB `*/README` would match a
7979
file named `README` anywhere except the root, since the glob requires
80
-that at least one '/' be in the name. (Recall that `/` matches the
80
+that at least one `/` be in the name. (Recall that `/` matches the
8181
directory separator regardless of whether it is `/` or `\` on your
8282
system.)
8383
8484
8585
8686
--- www/globs.md
+++ www/globs.md
@@ -39,21 +39,21 @@
39 `[`.
40
41
42 Some examples:
43
44 [a-d] Matches any one of 'a', 'b', 'c', or 'd'
45 [a-] Matches either 'a' or '-'
46 [][] Matches either ']' or '['
47 [^]] Matches exactly one character other than ']'
48 []^] Matches either ']' or '^'
49
50 The glob is compared to the canonical name of the file in the checkout
51 tree, and must match the entire name to be considered a match.
52
53 Unlike typical Unix shell globs, wildcard sequences are allowed to
54 match '/' directory separators as well as the initial '.' in the name
55 of a hidden file or directory.
56
57 A list of GLOBs is simply one or more GLOBs separated by whitespace or
58 commas. If a GLOB must contain a space or comma, it can be quoted with
59 either single or double quotation marks.
@@ -75,11 +75,11 @@
75 The simplest GLOB pattern is just a bare name of a file named with the
76 usual assortment of allowed file name characters. Such a pattern
77 matches that one file: the GLOB `README` matches only a file named
78 `README` in the root of the tree. The GLOB `*/README` would match a
79 file named `README` anywhere except the root, since the glob requires
80 that at least one '/' be in the name. (Recall that `/` matches the
81 directory separator regardless of whether it is `/` or `\` on your
82 system.)
83
84
85
86
--- www/globs.md
+++ www/globs.md
@@ -39,21 +39,21 @@
39 `[`.
40
41
42 Some examples:
43
44 [a-d] Matches any one of `a`, `b`, `c`, or `d`
45 [a-] Matches either `a` or `-`
46 [][] Matches either `]` or `[`
47 [^]] Matches exactly one character other than `]`
48 []^] Matches either `]` or `^`
49
50 The glob is compared to the canonical name of the file in the checkout
51 tree, and must match the entire name to be considered a match.
52
53 Unlike typical Unix shell globs, wildcard sequences are allowed to
54 match `/` directory separators as well as the initial `.` in the name
55 of a hidden file or directory.
56
57 A list of GLOBs is simply one or more GLOBs separated by whitespace or
58 commas. If a GLOB must contain a space or comma, it can be quoted with
59 either single or double quotation marks.
@@ -75,11 +75,11 @@
75 The simplest GLOB pattern is just a bare name of a file named with the
76 usual assortment of allowed file name characters. Such a pattern
77 matches that one file: the GLOB `README` matches only a file named
78 `README` in the root of the tree. The GLOB `*/README` would match a
79 file named `README` anywhere except the root, since the glob requires
80 that at least one `/` be in the name. (Recall that `/` matches the
81 directory separator regardless of whether it is `/` or `\` on your
82 system.)
83
84
85
86

Keyboard Shortcuts

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