<div dir="ltr">Hi Chris,<div><br></div><div>The combination of parser combinators and the old regex libraries have meant  I've avoided regexes as much as possible.</div><div><br></div><div>regex looks very promising so I'm sure to try it out next time i need something similar!</div><div><br></div><div>Will you add regex to stackage? Having to muck around with extra-deps gets tiring. I would also like to see Text support, but having to pack/unpack wouldn't be a dealbreaker for me.</div><div><br></div><div>Have you considered doing anything fancy to make capture groups safer to use? If i could get a compile error when i'm using the wrong number/wrongly named groups I'd be very excited.</div><div><br></div><div>Cheers,</div><div>Adam</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 10 Mar 2017 at 19:06 Chris Dornan <<a href="mailto:chris@chrisdornan.com">chris@chrisdornan.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I must correct myself. I said:<br class="gmail_msg">
<br class="gmail_msg">
> Being able to recover the text of the REs would be great and I would like to include<br class="gmail_msg">
> it in a future release, but again that will need some coordination with the regex-base<br class="gmail_msg">
> maintainers.<br class="gmail_msg">
<br class="gmail_msg">
Sorry, that isn’t right at all. Regex already allows you to recover the text from a compiled<br class="gmail_msg">
RE via the reSource function:<br class="gmail_msg">
<br class="gmail_msg">
  reSource :: RE -> String<br class="gmail_msg">
<br class="gmail_msg">
Evans said:<br class="gmail_msg">
<br class="gmail_msg">
> Nowadays I inherit that from pcre-heavy, but of course if you're<br class="gmail_msg">
> already on another backend then maybe not so simple.<br class="gmail_msg">
<br class="gmail_msg">
Yes, regex is built on top of regex-base and the regex-tdfa + regex-pcre back ends.<br class="gmail_msg">
<br class="gmail_msg">
> but you know tradition hangs heavy<br class="gmail_msg">
<br class="gmail_msg">
Indeed so!<br class="gmail_msg">
<br class="gmail_msg">
Chris<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Haskell-Cafe mailing list<br class="gmail_msg">
To (un)subscribe, modify options or view archives go to:<br class="gmail_msg">
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" class="gmail_msg" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br class="gmail_msg">
Only members subscribed via the mailman list are allowed to post.</blockquote></div>