diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-06-27 16:10:14 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-06-27 16:10:14 +0200 |
commit | 06b4da0de1388eb8403d3ad88915c117ab84877f (patch) | |
tree | 3b09c8d019f8cff4e3156c370f50644d0a7d1470 | |
parent | f05c88a8bf796257ac3299980ce676486482f1d7 (diff) | |
download | sciteco-06b4da0de1388eb8403d3ad88915c117ab84877f.tar.gz |
fixed an asterisk in the <EN> manpage entry
* We have to avoid `/*` within comments, so one of the two characters will
have to use a named glyph.
\[**] is actually a special symbol, which wasn't noticed until supporting Unicode.
There is no named glyph for the plain asterisk.
Thus we now use \[sl] to escape the `/` character.
`/\c*` might have also worked.
* grosciteco now supports the `sl` glyph.
-rwxr-xr-x | doc/grosciteco.tes | 1 | ||||
-rw-r--r-- | src/glob.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/grosciteco.tes b/doc/grosciteco.tes index f9565b5..cbe0e61 100755 --- a/doc/grosciteco.tes +++ b/doc/grosciteco.tes @@ -113,6 +113,7 @@ EBN[input] [glyphs.Fc]» [glyphs.rs]\ [glyphs.ti]~ +[glyphs.sl]/ [glyphs.+]+ [glyphs.->]→ [glyphs.tm]™ @@ -373,7 +373,7 @@ teco_state_glob_pattern_done(teco_machine_main_t *ctx, const teco_string_t *str, * \fIfilename\fP does not necessarily have to exist in the * file system for the match to succeed (unless a file type check * is also specified). - * For instance, \(lqENf??/\[**].c\fB$\fPfoo/bar.c\fB$\fP\(rq will + * For instance, \(lqENf??\[sl]*.c\fB$\fPfoo/bar.c\fB$\fP\(rq will * always match and the string \(lqfoo/bar.c\(rq will be inserted * (see below). * |