<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Text.Regex.Base</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ><SCRIPT TYPE="text/javascript" >window.onload = function () {setSynopsis("mini_Text-Regex-Base.html")};</SCRIPT ></HEAD ><BODY ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="topbar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" " ></TD ><TD CLASS="title" >regex-base-0.72.0.2: Replaces/Enhances Text.Regex</TD ><TD CLASS="topbut" ><A HREF="index.html" >Contents</A ></TD ><TD CLASS="topbut" ><A HREF="doc-index.html" >Index</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="modulebar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><FONT SIZE="6" >Text.Regex.Base</FONT ></TD ><TD ALIGN="right" ><TABLE CLASS="narrow" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="infohead" >Portability</TD ><TD CLASS="infoval" >non-portable (MPTC+FD)</TD ></TR ><TR ><TD CLASS="infohead" >Stability</TD ><TD CLASS="infoval" >experimental</TD ></TR ><TR ><TD CLASS="infohead" >Maintainer</TD ><TD CLASS="infoval" >libraries@haskell.org, textregexlazy@personal.mightyreason.com</TD ></TR ></TABLE ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Description</TD ></TR ><TR ><TD CLASS="doc" ><P >Classes and instances for Regex matching. </P ><P >This module merely imports and re-exports the common part of the new api: <A HREF="Text-Regex-Base-RegexLike.html" >Text.Regex.Base.RegexLike</A > and <A HREF="Text-Regex-Base-Context.html" >Text.Regex.Base.Context</A >. </P ><P >To see what result types the instances of RegexContext can produce, please read the <A HREF="Text-Regex-Base-Context.html" >Text.Regex.Base.Context</A > haddock documentation. </P ><P >This does not provide any of the backends, just the common interface they all use. The modules which provide the backends and their cabal packages are: </P ><UL ><LI > <TT >Text.Regex.Posix</TT > from regex-posix </LI ><LI > <TT >Text.Regex</TT > from regex-compat (uses regex-posix) </LI ><LI > <TT >Text.Regex.Parsec</TT > from regex-parsec </LI ><LI > <TT >Text.Regex.DFA</TT > from regex-dfa </LI ><LI > <TT >Text.Regex.PCRE</TT > from regex-pcre </LI ><LI > <TT >Test.Regex.TRE</TT > from regex-tre </LI ></UL ><P >In fact, just importing one of the backends is adequate, you do not also need to import this module. </P ><P >TODO: Copy Example*hs files into this haddock comment </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Synopsis</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" >module <A HREF="Text-Regex-Base-RegexLike.html" >Text.Regex.Base.RegexLike</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Documentation</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="doc" >RegexLike defines classes and type, and <TT ><A HREF="Text-Regex-Base-RegexLike.html#t%3AExtract" >Extract</A ></TT > instances </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" >module <A HREF="Text-Regex-Base-RegexLike.html" >Text.Regex.Base.RegexLike</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="botbar" >Produced by <A HREF="http://www.haskell.org/haddock/" >Haddock</A > version 2.4.2</TD ></TR ></TABLE ></BODY ></HTML >