return +regex-posix

ReturnCode :: CInt -> ReturnCode
regex-posix Text.Regex.Posix.Wrap
data ReturnCode
regex-posix Text.Regex.Posix.String, regex-posix Text.Regex.Posix.Sequence, regex-posix Text.Regex.Posix.ByteString, regex-posix Text.Regex.Posix.ByteString.Lazy
ReturnCode is an enumerated CInt, corresponding to the error codes from man 3 regex: * retBadbr (REG_BADBR) invalid repetition count(s) in { } * retBadpat (REG_BADPAT) invalid regular expression * retBadrpt (REG_BADRPT) ?, *, or + operand invalid * retEcollate (REG_ECOLLATE) invalid collating element * retEctype (REG_ECTYPE) invalid character class * retEescape (REG_EESCAPE) \ applied to unescapable character * retEsubreg (REG_ESUBREG) invalid backreference number * retEbrack (REG_EBRACK) brackets [ ] not balanced * retEparen (REG_EPAREN) parentheses ( ) not balanced * retEbrace (REG_EBRACE) braces { } not balanced * retErange (REG_ERANGE) invalid character range in [ ] * retEspace (REG_ESPACE) ran out of memory * retNoMatch (REG_NOMATCH) The regexec() function failed to match
newtype ReturnCode
regex-posix Text.Regex.Posix.Wrap
ReturnCode is an enumerated CInt, corresponding to the error codes from man 3 regex: * retBadbr (REG_BADBR) invalid repetition count(s) in { } * retBadpat (REG_BADPAT) invalid regular expression * retBadrpt (REG_BADRPT) ?, *, or + operand invalid * retEcollate (REG_ECOLLATE) invalid collating element * retEctype (REG_ECTYPE) invalid character class * retEescape (REG_EESCAPE) \ applied to unescapable character * retEsubreg (REG_ESUBREG) invalid backreference number * retEbrack (REG_EBRACK) brackets [ ] not balanced * retEparen (REG_EPAREN) parentheses ( ) not balanced * retEbrace (REG_EBRACE) braces { } not balanced * retErange (REG_ERANGE) invalid character range in [ ] * retEspace (REG_ESPACE) ran out of memory * retNoMatch (REG_NOMATCH) The regexec() function failed to match