[m-dev.] regular expressions

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Dec 16 02:32:37 AEDT 1999


On 16-Dec-1999, Peter Schachte <peter at koan.cs.mu.OZ.AU> wrote:
> On Wed, Dec 15, 1999 at 10:55:37PM +1100, Michael Day wrote:
> > My primary question though is related to implementation. Is it customary
> > for languages to roll their own regular expression functionality or simply
> > wrap the POSIX library for it?

I'd like to see both.

> DCGs are really pretty nice for this kind of thing.

DCGs work great for regexp matching.
But what about regexp substitution?

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list