[plt-dev] regexp equality
You can approximate it like this: (λ (r1 r2) (equal? (object-name r1)
(object-name r2))), but deciding if the regexps match the same
language seems tricky (one of those standard things, I think, that I
should know the complexity of...)
Robby
On Fri, Feb 19, 2010 at 12:20 PM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> How do I test regexps for equality?
>
>> (equal? #rx"" #rx"")
> #f
>
> --
> Jay McCarthy <jay at cs.byu.edu>
> Assistant Professor / Brigham Young University
> http://teammccarthy.org/jay
>
> "The glory of God is Intelligence" - D&C 93
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-dev
>