aboutsummaryrefslogtreecommitdiff
path: root/core/text.nom
diff options
context:
space:
mode:
Diffstat (limited to 'core/text.nom')
-rw-r--r--core/text.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/text.nom b/core/text.nom
index a9b2540..840a596 100644
--- a/core/text.nom
+++ b/core/text.nom
@@ -15,7 +15,7 @@ parse [joined %texts, %texts joined] as: %texts joined with ""
compile [capitalized %text, %text capitalized] to
Lua value "((\(%text as lua expr)):gsub('%l', string.upper, 1))"
-compile [%text with %sub instead of %patt, %text s/%patt/%sub] to
+compile [%text with %sub instead of %patt, %text with %patt replaced by %sub, %text s/%patt / %sub] to
Lua value "((\(%text as lua expr)):gsub(\(%patt as lua expr), \(%sub as lua expr)))"
action [lines in %text, lines of %text]