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 31cb1f7 commit 89680ccCopy full SHA for 89680cc
src/Text/Regex/Posix/Sequence.hs
@@ -114,7 +114,7 @@ execute regex str = do
114
maybeStartEnd <- withSeq str (wrapMatch regex)
115
case maybeStartEnd of
116
Right Nothing -> return (Right Nothing)
117
--- Right (Just []) -> fail "got [] back!" -- return wierd array instead
+-- Right (Just []) -> fail "got [] back!" -- return weird array instead
118
Right (Just parts) ->
119
return . Right . Just . listArray (0,pred (length parts))
120
. map (\(s,e)->(fromIntegral s, fromIntegral (e-s)))
0 commit comments