diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-27 10:22:58 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-27 10:23:02 -0700 |
| commit | 09d6bad6ac0d4509552d424471bcace649f69c8e (patch) | |
| tree | 90b7ee5d2714deeee0c769de8ecde810e6bbb229 /core | |
| parent | 65dc1f2196b46dbd527d49da113515bea825416d (diff) | |
Minor fixes.
Diffstat (limited to 'core')
| -rw-r--r-- | core/text.nom | 2 |
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] |
