Also, I think this is a great example of how ratings, comments, and other metadata (some of which will be present in Hackage 2.0, right?) may help people navigate the offerings.<br><br><div>I had a similar problem recently with the cryptography packages.</div>

<div><br><div>Maybe we should just be writing wiki pages explaining the state of the packages on Hackage?  (Hard to keep up to date.)</div><div><br></div><div>As it stands this knowledge seems to mostly reside in mailing list threads and Reddit/StackOverflow comments.</div>

<div><br></div><div><br><div class="gmail_quote">On Fri, Mar 4, 2011 at 3:03 AM, Kathleen Fisher <span dir="ltr">&lt;<a href="mailto:kathleen.fisher@gmail.com">kathleen.fisher@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Thanks!  I got this to work.<br>
<br>
It would be really helpful if the documentation in Hackage pointed to the examples in RWH (or had similar examples inline).  It&#39;s not helpful that the documentation on hackage for the context information is out of date (or at least, it says it is out of date).  The hapless user (ie, me) is reduced to reading the source code to figure out what different kinds of things the regex matching operators can return.<br>


<font color="#888888"><br>
Kathleen<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
On Mar 3, 2011, at 3:52 PM, Ivan Lazar Miljenovic wrote:<br>
<br>
&gt; On 4 March 2011 10:43, Don Stewart &lt;<a href="mailto:dons@galois.com">dons@galois.com</a>&gt; wrote:<br>
&gt;&gt; The regex-* packages are polymorphic in the string type they accept, so<br>
&gt;&gt; it should be possible to use them with bytestrings.<br>
&gt;&gt;<br>
&gt;&gt; E.g.<br>
&gt;&gt;<br>
&gt;&gt;    * <a href="http://hackage.haskell.org/package/regex-pcre" target="_blank">http://hackage.haskell.org/package/regex-pcre</a><br>
&gt;&gt;    * <a href="http://hackage.haskell.org/package/regex-posix" target="_blank">http://hackage.haskell.org/package/regex-posix</a><br>
&gt;&gt;    * <a href="http://hackage.haskell.org/package/regex-tdfa" target="_blank">http://hackage.haskell.org/package/regex-tdfa</a><br>
&gt;&gt;<br>
&gt;&gt; (you can choose which regex automata you like)<br>
&gt;<br>
&gt; And have a look at the RWH chapter on regexes to get an idea of how to<br>
&gt; use them: <a href="http://book.realworldhaskell.org/read/efficient-file-processing-regular-expressions-and-file-name-matching.html" target="_blank">http://book.realworldhaskell.org/read/efficient-file-processing-regular-expressions-and-file-name-matching.html</a><br>


&gt;<br>
&gt; --<br>
&gt; Ivan Lazar Miljenovic<br>
&gt; <a href="mailto:Ivan.Miljenovic@gmail.com">Ivan.Miljenovic@gmail.com</a><br>
&gt; <a href="http://IvanMiljenovic.wordpress.com" target="_blank">IvanMiljenovic.wordpress.com</a><br>
<br>
<br>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br>
</div></div></blockquote></div><br></div></div>