www.digitalmars.com         C & C++   DMDScript  

D - bug in regexp

Just try this:

    import regexp;

    int main()
    {
     (new RegExp('\d[\.\d]', "")).test("123.456");
     return 0;
    }

It throws a run-time exception "Switch Default", from regexp.d...
Feb 08 2002