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:
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
>
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
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 pregexp? Why is there
a need for both to coexi
4 matches
Mail list logo