Text.RE

Tutorial

How to use this library

The Match Operators

Matches, Match & Capture

data Matches a

data Match a

data Capture a

noMatch

Matches functions

anyMatches

countMatches

matches

mainCaptures

Match functions

matched

matchedText

matchCapture

matchCaptures

(!$$)

captureText

(!$$?)

captureTextMaybe

(!$)

capture

(!$?)

captureMaybe

Capture functions

hasCaptured

capturePrefix

captureSuffix

Options

data SimpleRegexOptions

CaptureID

data CaptureID

Replace

class Replace a

data ReplaceMethods a

replaceMethods

data Context

data Location

isTopLocation

replace

replaceAll

replaceAllCaptures

replaceAllCaptures_

replaceAllCapturesM

replaceCaptures

replaceCaptures_

replaceCapturesM

expandMacros

expandMacros'