Thread overview
Tango Regex Access Violation
Jul 27, 2008
yidabu
Jul 27, 2008
bearophile
Jul 27, 2008
torhu
Jul 27, 2008
yidabu
July 27, 2008
Tango Regex always got unhandled Access Violation:

        char[] str = "ab";
        auto regex = Regex(".");
        Stdout.formatln("result {}", regex.test(str));



tested with dmd windows 1.031, tango 0.99.7

-- 
yidabu <yidabu.spam@gmail.com> http://www.dsource.org/projects/dwin

D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/


July 27, 2008
yidabu Wrote:
> Tango Regex always got unhandled Access Violation:
> tested with dmd windows 1.031, tango 0.99.7

It may be better to use it with a newer DMD, like 1.033.

Bye,
bearophile
July 27, 2008
yidabu wrote:
> Tango Regex always got unhandled Access Violation:
> 
>         char[] str = "ab";
>         auto regex = Regex(".");
>         Stdout.formatln("result {}", regex.test(str));
> 
> 
> 
> tested with dmd windows 1.031, tango 0.99.7
> 

Could it be related to this? http://www.dsource.org/projects/tango/ticket/956
July 27, 2008
On Sun, 27 Jul 2008 15:30:17 +0200
torhu <no@spam.invalid> wrote:

> yidabu wrote:
> > Tango Regex always got unhandled Access Violation:
> > 
> >         char[] str = "ab";
> >         auto regex = Regex(".");
> >         Stdout.formatln("result {}", regex.test(str));
> > 
> > 
> > 
> > tested with dmd windows 1.031, tango 0.99.7
> > 
> 
> Could it be related to this? http://www.dsource.org/projects/tango/ticket/956

I'm not sure, I failed to debug this via DDBG.



-- 
yidabu <yidabu.spam@gmail.com> http://www.dsource.org/projects/dwin

D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/