From 90b2888d464327492b3c33db1b72183e2c9f3c71 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 25 Jan 2018 17:43:57 -0800 Subject: Fixed up how_do_i with updated syntax. --- lib/text.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/text.nom') diff --git a/lib/text.nom b/lib/text.nom index 982db63..cbd0b3f 100644 --- a/lib/text.nom +++ b/lib/text.nom @@ -12,7 +12,7 @@ action [%texts joined with %glue] return table.concat(text_bits, \%glue) parse [joined %texts, %texts joined] as: %texts joined with "" -compile [capitalized %text capitalized] to +compile [capitalized %text, %text capitalized] to {expr:"(\(%text as lua expr)):gsub('%l', string.upper, 1)"} compile [%text with %sub instead of %patt, %text s/%patt/%sub] to -- cgit v1.2.3