úÎDˆ@fC      !"#$%&'()*+,-./0123456789:;<=>?@ABMITNone =å^A successful match of the pattern against some input. Capturing groups may be retrieved with , or -.rOptions controlling how to compile a regular expression. The fields in this value may be set using record syntax: .compileNoCase :: B.ByteString -> Either Error # compileNoCase = ( (& {   = False }) Only checked in posix modeOnly checked in posix modeOnly checked in posix mode#HA pattern is a compiled regular expression plus its compilation options.#Patterns can be created by calling ' explicitly: ;import Data.ByteString.Char8 (pack) p :: Pattern p = case 'f (pack "^hello world$") of Right ok -> ok Left err -> error ("compilation error: " ++ % err) Or by using the C instance: Limport Data.String (fromString) p :: Pattern p = fromString "^hello world$"Or by using the OverloadedStrings language extension: D{-# LANGUAGE OverloadedStrings #-} p :: Pattern p = "^hello world$"& ÿàdefaultOptions = Options { optionEncoding = EncodingUtf8 , optionPosixSyntax = False , optionLongestMatch = False , optionMaxMemory = 8388608 -- 8 << 20 , optionLiteral = False , optionNeverNewline = False , optionDotNewline = False , optionNeverCapture = False , optionCaseSensitive = True , optionPerlClasses = False , optionWordBoundary = False , optionOneLine = False } '  compile = ( &(lCompile a regular expression with the given options. If compilation fails, the error can be inspected with % and $.Use b to select whether the input bytes should be interpreted as UTF-8 or Latin1. The default is UTF8.).The regular expression originally provided to (.*#The options originally provided to (.+`The capturing groups defined within the pattern. Groups are listed from left to right, and are Nothing if the group is unnamed. Jghci> patternGroups "(\\d+)|(?P<word>\\w+)" fromList [Nothing,Just "word"],-The capturing group with the given index, or Nothing) if the group was not set in this match.The entire match is group 0.-8All of the groups in the pattern, with each group being NothingM if it was not set in this match. Groups are returned in the same order as +.The entire match is group 0..lThe most general matching function. Attempt to match the pattern to the input within the given constraints.\If the number of match groups to populate is 0, matching can be performed more efficiently./7Attempt to find the pattern somewhere within the input.0„Replace the first occurance of the pattern with the given replacement template. If the template contains backslash escapes such as \1J, the capture group with the given index will be inserted in their place.Returns the new bytes, and True if a replacement occured.1€Replace every occurance of the pattern with the given replacement template. If the template contains backslash escapes such as \1J, the capture group with the given index will be inserted in their place.9Returns the new bytes, and how many replacements occured.2–Attempt to find the pattern somewhere within the input, and extract it using the given template. If the template contains backslash escapes such as \1J, the capture group with the given index will be inserted in their place.Returns Nothing+ if the pattern was not found in the input.3_Escapes bytes such that the output is a regular expression which will exactly match the input.DInputstartpos, endposanchor&num captures, -1 to capture all groupsCaptures How many groups were captured.Start position End position!How many match groups to populate0InputReplacement template1InputReplacement template2InputExtraction template4  !"#$%&'()*+,-./0123?#'()*+ & " !%$,-./0123E F G  !H"I#JK      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJ$%Kre2-0.2-9jeB6oCjIFKKyi2iXSDTOw Regex.RE2Anchor AnchorStart AnchorBothMatchOptionsoptionEncodingoptionPosixSyntaxoptionLongestMatchoptionMaxMemory optionLiteraloptionNeverNewlineoptionNeverCaptureoptionCaseSensitiveoptionPerlClassesoptionWordBoundary optionOneLineEncoding EncodingUtf8EncodingLatin1 ErrorCode ErrorInternalErrorBadEscapeErrorBadCharClassErrorBadCharRangeErrorMissingBracketErrorMissingParenErrorTrailingBackslashErrorRepeatArgumentErrorRepeatSize ErrorRepeatOpErrorBadPerlOp ErrorBadUTF8ErrorBadNamedCaptureErrorPatternTooLargeErrorPattern errorCode errorMessagedefaultOptionscompile compileWith patternInputpatternOptions patternGroups matchGroup matchGroupsmatchfindreplace replaceAllextract quoteMeta$fIsStringPattern $fEqPattern $fShowPattern $fShowMatch $fEqErrorCode$fShowErrorCode $fEqError $fShowError $fEqEncoding$fShowEncoding $fEqOptions $fShowOptions $fEqMatch $fEqAnchor $fShowAnchorbase Data.StringIsStringc_matchoptionDotNewline ErrorUnknown