aboutsummaryrefslogtreecommitdiff
path: root/core/text.nom
diff options
context:
space:
mode:
Diffstat (limited to 'core/text.nom')
-rw-r--r--core/text.nom4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/text.nom b/core/text.nom
index 40e0451..83c25f7 100644
--- a/core/text.nom
+++ b/core/text.nom
@@ -54,9 +54,7 @@ compile [%text matches %pattern] to (..)
(\(%text as lua expr):match(\(%pattern as lua expr)) and true or false)
compile [%text matching %pattern] to (..)
- Lua value ".."
- \(%text as lua expr):match(\(%pattern as lua expr))
-
+ Lua value "\(%text as lua expr):match(\(%pattern as lua expr))"
# Text literals
lua> ".."