aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/text/regex.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/data/text/regex.lux')
-rw-r--r--stdlib/source/test/lux/data/text/regex.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/test/lux/data/text/regex.lux b/stdlib/source/test/lux/data/text/regex.lux
index cb766f27b..cfc58a897 100644
--- a/stdlib/source/test/lux/data/text/regex.lux
+++ b/stdlib/source/test/lux/data/text/regex.lux
@@ -11,7 +11,7 @@
["<[0]>" text {"+" [Parser]}]
["<[0]>" code]]]
[data
- ["[0]" text ("[1]\[0]" equivalence)
+ ["[0]" text ("[1]#[0]" equivalence)
["%" format {"+" [format]}]]]
["[0]" macro
[syntax {"+" [syntax:]}]
@@ -27,7 +27,7 @@
(|> input
(<text>.result regex)
(case> {try.#Success parsed}
- (text\= parsed input)
+ (text#= parsed input)
_
#0)))
@@ -37,7 +37,7 @@
(|> input
(<text>.result regex)
(case> {try.#Success parsed}
- (text\= test parsed)
+ (text#= test parsed)
_
false)))
@@ -305,9 +305,9 @@
(case (format sample1 "-" sample2 "-" sample3)
(/.^regex "(.{3})-(.{3})-(.{4})"
[_ match1 match2 match3])
- (and (text\= sample1 match1)
- (text\= sample2 match2)
- (text\= sample3 match3))
+ (and (text#= sample1 match1)
+ (text#= sample2 match2)
+ (text#= sample3 match3))
_
false)))