From 134b6c32da6f8b5d4c0da14424b9a72e4e9db72d Mon Sep 17 00:00:00 2001 From: Isaac Shapira Date: Tue, 17 Feb 2015 23:30:15 -0700 Subject: [PATCH] Convenience data --- src/Data/String/Regex.purs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Data/String/Regex.purs b/src/Data/String/Regex.purs index 225f1b6..5f00939 100644 --- a/src/Data/String/Regex.purs +++ b/src/Data/String/Regex.purs @@ -38,6 +38,13 @@ type RegexFlags = , unicode :: Boolean } +noFlags :: RegexFlags +noFlags = { global : false + , ignoreCase : false + , multiline : false + , sticky : false + , unicode : false } + foreign import regex' """ function regex$prime(s1) {