regex-0.12.0.0: Toolkit for regex-base

Safe HaskellNone
LanguageHaskell2010

Text.RE.ZeInternals.SearchReplace.TDFA.ByteString.Lazy

Contents

Synopsis

The ed Quasi Quoters

The -- | the [ed| ... /// ... |] quasi quoters; for exaple,

[ed|${y}([0-9]{4})-0*${m}([0-9]{2})-0*${d}([0-9]{2})///${d}/${m}/${y}|])

represents a SearchReplace that will convert a YYYY-MM-DD format date into a DD/MM/YYYY format date.

The only difference betweem these quasi quoters is the RE options that are set: see the Text.RE.REOptions documentation for details.