Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Regex (Mr. Akos)
----------------------------------------------------------------------
Message: 1
Date: Wed, 12 Dec 2018 11:45:23 +0100
From: "Mr. Akos" <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] Regex
Message-ID:
<CABRwHGh3XwPTW+KoQFmy6tQu4uA=uD=hf4vm7d6o+1ws7wp...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I have positive experiences with regex-compat, regex-posix packages, you
can get these from hackage.
When your expression becomes more complicated it may be worth to use
parsers instead: faster processing, refactoring parsers is also easier.
On Thu, Dec 6, 2018 at 2:45 PM David McBride <[email protected]> wrote:
> In Haskell virtually everyone uses parser combinator libraries like
> parsec, megaparsec, or attoparsec depending on their needs.
>
> Many people ask this question and are then disappointed when they can't
> find a definitively standard regex library to use. That's because they are
> barely needed.
>
> That's not to say that there are no such libraries
> There are. But I personally couldn't suggest any as I have not been
> compelled to use one in many years.
>
> On Thu, Dec 6, 2018, 05:38 mike h <[email protected] wrote:
>
>> Hi,
>>
>> Which package is the most popular and/or easy to used for dealing with
>> regular expressions?
>> My regex is quite simple and I just need to get 2 or 3 capture groups
>> from the result.
>>
>> Many thanks
>>
>> Mike
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
--
People seldom notice clothes, if you wear a big smile.
My grandmother uses Ubuntu, don't you think so?!
OLVASD: http://www.xkcd.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20181212/e9033ab9/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 126, Issue 9
*****************************************