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

IsRegex

class IsRegex re s

Options

data Options_ r c e

class IsOption o r c e

data MacroID

type Macros r

emptyMacros

data SimpleRegexOptions

CaptureID

data CaptureID

type CaptureNames

noCaptureNames

data CaptureName

data CaptureOrdinal

findCaptureID

Edit

data Edits m re s

data Edit m s

data LineEdit s

applyEdits

applyEdit

applyLineEdit

LineNo

data LineNo

firstLine

getLineNo

lineNo

Parsers

parseInteger

parseHex

parseDouble

parseString

parseSimpleString

parseDate

parseSlashesDate

parseTimeOfDay

parseTimeZone

parseDateTime

parseDateTime8601

parseDateTimeCLF

parseShortMonth

shortMonthArray

type IPV4Address

parseIPv4Address

data Severity

parseSeverity

severityKeywords

Replace

class Replace a

data ReplaceMethods a

replaceMethods

data Context

data Location

isTopLocation

replace

replaceAll

replaceAllCaptures

replaceAllCaptures_

replaceAllCapturesM

replaceCaptures

replaceCaptures_

replaceCapturesM

expandMacros

expandMacros'

Tools

Grep

data Line

grep

grepLines

type GrepScript re s t

grepScript

linesMatched

Lex

alex

alex'

Sed

type SedScript re

sed

sed'