Skip to content

Commit 89680cc

Browse files
askebladandreasabel
authored andcommitted
typo
1 parent 31cb1f7 commit 89680cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Text/Regex/Posix/Sequence.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ execute regex str = do
114114
maybeStartEnd <- withSeq str (wrapMatch regex)
115115
case maybeStartEnd of
116116
Right Nothing -> return (Right Nothing)
117-
-- Right (Just []) -> fail "got [] back!" -- return wierd array instead
117+
-- Right (Just []) -> fail "got [] back!" -- return weird array instead
118118
Right (Just parts) ->
119119
return . Right . Just . listArray (0,pred (length parts))
120120
. map (\(s,e)->(fromIntegral s, fromIntegral (e-s)))

0 commit comments

Comments
 (0)