Fossil SCM
Correct display of character sequence examples to work around lack of multi-level bulleted lists
Commit
2df14399e6b13bb4bd196a2171fda1af9b6586ca747fd3190cc34f78b5e577b3
Parent
ddea92ad417f2af…
1 file changed
+21
-13
+21
-13
| --- www/globs.md | ||
| +++ www/globs.md | ||
| @@ -67,36 +67,44 @@ | ||
| 67 | 67 | `[^`. At any other place, `]` ends the list. |
| 68 | 68 | |
| 69 | 69 | * Include `^` in a list by placing anywhere except first after the |
| 70 | 70 | `[`. |
| 71 | 71 | |
| 72 | - * Some examples of character lists: | |
| 73 | - `[a-d]` Matches any one of `a`, `b`, `c`, or `d` but not `ä`; | |
| 74 | - `[^a-d]` Matches exactly one character other than `a`, `b`, `c`, | |
| 75 | - or `d`; | |
| 76 | - `[0-9a-fA-F]` Matches exactly one hexadecimal digit; | |
| 77 | - `[a-]` Matches either `a` or `-`; | |
| 78 | - `[][]` Matches either `]` or `[`; | |
| 79 | - `[^]]` Matches exactly one character other than `]`; | |
| 80 | - `[]^]` Matches either `]` or `^`; and | |
| 81 | - `[^-]` Matches exactly one character other than `-`. | |
| 82 | - | |
| 83 | - Beware that ranges in lists may include more than you expect: | |
| 72 | + * Beware that ranges in lists may include more than you expect: | |
| 84 | 73 | `[A-z]` Matches `A` and `Z`, but also matches `a` and some less |
| 85 | 74 | obvious characters such as `[`, `\`, and `]` with code point |
| 86 | 75 | values between `Z` and `a`. |
| 87 | 76 | |
| 88 | - Beware that a range must be specified from low value to high | |
| 77 | + * Beware that a range must be specified from low value to high | |
| 89 | 78 | value: `[z-a]` does not match any character at all, preventing the |
| 90 | 79 | entire glob from matching. |
| 91 | 80 | |
| 92 | 81 | * Note that unlike typical Unix shell globs, wildcards (`*`, `?`, |
| 93 | 82 | and character lists) are allowed to match `/` directory |
| 94 | 83 | separators as well as the initial `.` in the name of a hidden |
| 95 | 84 | file or directory. |
| 96 | 85 | |
| 97 | 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 | + | |
| 98 | 106 | White space means the ASCII characters TAB, LF, VT, FF, CR, and SPACE. |
| 99 | 107 | Note that this does not include any of the many additional spacing |
| 100 | 108 | characters available in Unicode, and specifically does not include |
| 101 | 109 | U+00A0 NO-BREAK SPACE. |
| 102 | 110 | |
| 103 | 111 |
| --- www/globs.md | |
| +++ www/globs.md | |
| @@ -67,36 +67,44 @@ | |
| 67 | `[^`. At any other place, `]` ends the list. |
| 68 | |
| 69 | * Include `^` in a list by placing anywhere except first after the |
| 70 | `[`. |
| 71 | |
| 72 | * Some examples of character lists: |
| 73 | `[a-d]` Matches any one of `a`, `b`, `c`, or `d` but not `ä`; |
| 74 | `[^a-d]` Matches exactly one character other than `a`, `b`, `c`, |
| 75 | or `d`; |
| 76 | `[0-9a-fA-F]` Matches exactly one hexadecimal digit; |
| 77 | `[a-]` Matches either `a` or `-`; |
| 78 | `[][]` Matches either `]` or `[`; |
| 79 | `[^]]` Matches exactly one character other than `]`; |
| 80 | `[]^]` Matches either `]` or `^`; and |
| 81 | `[^-]` Matches exactly one character other than `-`. |
| 82 | |
| 83 | Beware that ranges in lists may include more than you expect: |
| 84 | `[A-z]` Matches `A` and `Z`, but also matches `a` and some less |
| 85 | obvious characters such as `[`, `\`, and `]` with code point |
| 86 | values between `Z` and `a`. |
| 87 | |
| 88 | Beware that a range must be specified from low value to high |
| 89 | value: `[z-a]` does not match any character at all, preventing the |
| 90 | entire glob from matching. |
| 91 | |
| 92 | * Note that unlike typical Unix shell globs, wildcards (`*`, `?`, |
| 93 | and character lists) are allowed to match `/` directory |
| 94 | separators as well as the initial `.` in the name of a hidden |
| 95 | file or directory. |
| 96 | |
| 97 | |
| 98 | White space means the ASCII characters TAB, LF, VT, FF, CR, and SPACE. |
| 99 | Note that this does not include any of the many additional spacing |
| 100 | characters available in Unicode, and specifically does not include |
| 101 | U+00A0 NO-BREAK SPACE. |
| 102 | |
| 103 |
| --- www/globs.md | |
| +++ www/globs.md | |
| @@ -67,36 +67,44 @@ | |
| 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 | U+00A0 NO-BREAK SPACE. |
| 110 | |
| 111 |