aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/glob.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-06-27 16:10:14 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-06-27 16:10:14 +0200
commit06b4da0de1388eb8403d3ad88915c117ab84877f (patch)
tree3b09c8d019f8cff4e3156c370f50644d0a7d1470 /src/glob.c
parentf05c88a8bf796257ac3299980ce676486482f1d7 (diff)
downloadsciteco-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.
Diffstat (limited to 'src/glob.c')
-rw-r--r--src/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glob.c b/src/glob.c
index c7013b1..4495093 100644
--- a/src/glob.c
+++ b/src/glob.c
@@ -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).
*