We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02e33d3 commit 05cb937Copy full SHA for 05cb937
src/Data/String/Regex.purs
@@ -5,7 +5,7 @@ foreign import data Regex :: *
5
foreign import regex
6
"function regex(s1) {\
7
\ return function(s2) {\
8
- \ return new Regex(s1, s2);\
+ \ return new RegExp(s1, s2);\
9
\ };\
10
\}" :: String -> String -> Regex
11
0 commit comments