aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/search.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-12-13 14:29:00 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-12-13 14:29:00 +0300
commite2313a7023410bccaa7bfec2f5966a6591d75bdc (patch)
tree2c7a69ab7813ce1c8c3d39173c4f73f34f60afc3 /src/search.c
parentbe36df018093bc3ccde34194beb611a8d87b890e (diff)
downloadsciteco-e2313a7023410bccaa7bfec2f5966a6591d75bdc.tar.gz
document the FK...$^SR idiom
* We don't actually have to negate ^S results after FK. For deleting the matched pattern, you can use ^YD or -^SD.
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index e05a6b9..ba5203c 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1113,7 +1113,7 @@ teco_state_search_kill_done(teco_machine_main_t *ctx, const teco_string_t *str,
* from,to:FK[pattern]$ -> Success|Failure
*
* \fBFK\fP searches for <pattern> just like the regular search
- * command (\fBS\fP) but when found deletes all text from dot
+ * command (\fBS\fP) but when found, deletes all text from dot
* up to but not including the found text instance.
* When searching backwards the characters beginning after
* the occurrence of <pattern> up to dot are deleted.