diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/regex.lux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/lux/regex.lux b/stdlib/source/lux/regex.lux index 3bcf95106..95599852c 100644 --- a/stdlib/source/lux/regex.lux +++ b/stdlib/source/lux/regex.lux @@ -420,7 +420,7 @@ (:: Monad<Lexer> map product;right (re-alternative^ true re-scoped^ current-module))) ## [Syntax] -(syntax: #export (regex {pattern syntax;text}) +(syntax: #export (regex [pattern syntax;text]) (do @ [current-module compiler;current-module-name] (case (&;run (&;&_ (regex^ current-module) &;end) pattern) |