diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-25 17:43:57 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-25 17:44:09 -0800 |
| commit | 90b2888d464327492b3c33db1b72183e2c9f3c71 (patch) | |
| tree | a0d6daf77a4c7b1d6ae30564e1f7dc676b4a110c /lib/text.nom | |
| parent | c79bea44016daf43f05300b772011b14125fa0df (diff) | |
Fixed up how_do_i with updated syntax.
Diffstat (limited to 'lib/text.nom')
| -rw-r--r-- | lib/text.nom | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
