<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Not sure I'm even in the right neighborhood with this. Need to screen for integer data. <br>Am I going about this correctly?<br><br>Michael<br><br>======<br><br>[michael@localhost ~]$ ghci<br>GHCi, version 6.10.4: http://www.haskell.org/ghc/&nbsp; :? for help<br>Loading package ghc-prim ... linking ... done.<br>Loading package integer ... linking ... done.<br>Loading package base ... linking ... done.<br>Prelude&gt; :m + Text.Regex.Base.RegexLike<br>Prelude Text.Regex.Base.RegexLike&gt; let r = makeRegex "[+-]?[0-9]+"<br><br>&lt;interactive&gt;:1:8:<br>&nbsp;&nbsp;&nbsp; No instance for (RegexMaker regex compOpt execOpt [Char])<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; arising from a use of `makeRegex' at &lt;interactive&gt;:1:8-30<br>&nbsp;&nbsp;&nbsp; Possible fix:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; add an instance declaration for<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 (RegexMaker regex compOpt execOpt [Char])<br>&nbsp;&nbsp;&nbsp; In the expression: makeRegex "[+-]?[0-9]+"<br>&nbsp;&nbsp;&nbsp; In the definition of `r': r = makeRegex "[+-]?[0-9]+"<br>Prelude Text.Regex.Base.RegexLike&gt; <br><br></td></tr></table><br>