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) {