regex-0.11.1.0: Toolkit for regex-base

Safe HaskellNone
LanguageHaskell2010

Text.RE.ZeInternals.Types.CaptureID

Synopsis

Documentation

data CaptureID Source #

CaptureID identifies captures, either by number (e.g., [cp|1|]) or name (e.g., [cp|foo|]).

type CaptureNames = HashMap CaptureName CaptureOrdinal Source #

the dictionary for named captures stored in compiled regular expressions associates

newtype CaptureOrdinal Source #

a CaptureOrdinal is just the number of the capture, starting with 0 for the whole of the text matched, then in leftmost, outermost

Constructors

CaptureOrdinal 

Instances

Enum CaptureOrdinal Source # 
Eq CaptureOrdinal Source # 
Num CaptureOrdinal Source # 
Ord CaptureOrdinal Source # 
Show CaptureOrdinal Source # 
Ix CaptureOrdinal Source #