From 09d6bad6ac0d4509552d424471bcace649f69c8e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 27 Jun 2018 10:22:58 -0700 Subject: Minor fixes. --- core/text.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/text.nom') 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] -- cgit v1.2.3