Thread overview
Regular Expressions
Apr 19, 2004
andrew.c.huff
Apr 19, 2004
Ilya Minkov
Apr 19, 2004
J C Calvarese
April 19, 2004
Sorry, I didn't know if this question has been brought up earlier.  Does anyone know if regular expressions might be supported in the language the way perl does?  I didn't see any documentation about it, so I am assuming it will be supported through a library.  Sorry if this sounds like a dumb question, I was just curious.


April 19, 2004
andrew.c.huff@no.spam.ttu.edu schrieb:
> Sorry, I didn't know if this question has been brought up earlier.  Does anyone
> know if regular expressions might be supported in the language the way perl
> does?  I didn't see any documentation about it, so I am assuming it will be
> supported through a library.  Sorry if this sounds like a dumb question, I was
> just curious.

See documentation, Phobos page. Regular expressions are part of the standard library from the first day on, but definately not Perl way.

-eye
April 19, 2004
andrew.c.huff@no.spam.ttu.edu wrote:
> Sorry, I didn't know if this question has been brought up earlier.  Does anyone
> know if regular expressions might be supported in the language the way perl
> does?  I didn't see any documentation about it, so I am assuming it will be
> supported through a library.  Sorry if this sounds like a dumb question, I was
> just curious.

It's in the standard library. The std.regexp module in D contains regular expressions.

To see how it's done in D, you can look at my example at:
http://www.dsource.org/tutorials/index.php?show_example=58

-- 
Justin
http://jcc_7.tripod.com/d/