Re: [racket] pregexp vs regexp

2010-11-02 Thread Mark Engelberg
It sounds like it's mostly a backwards-compatibility issue. So when teaching students from scratch about regular expressions, is it reasonable to only mention pregexps? Is there anything lost by doing that? _ For list-related administrative tasks:

Re: [racket] pregexp vs regexp

2010-11-02 Thread Eli Barzilay
5 minutes ago, Mark Engelberg wrote: > As far as I can tell, pregexp functionality is a superset of regexp > functionality. Furthermore, the added functionality uses patterns > that are unlikely to occur by accident in normal regular > expressions. So is there any advantage to using regexp over >

Re: [racket] pregexp vs regexp

2010-11-02 Thread Robby Findler
It would be a significant amount of work to remove regexps because there is a lot of code that uses them that would have to be rewritten. In the cases where a literal regexp is used, one could probably write a script to make it work, but cases where the function 'regexp' was used would probably all