Skip to content

Commit 05cb937

Browse files
committed
Fix typo in Regex module
1 parent 02e33d3 commit 05cb937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/String/Regex.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ foreign import data Regex :: *
55
foreign import regex
66
"function regex(s1) {\
77
\ return function(s2) {\
8-
\ return new Regex(s1, s2);\
8+
\ return new RegExp(s1, s2);\
99
\ };\
1010
\}" :: String -> String -> Regex
1111

0 commit comments

Comments
 (0)