Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 27, 2008 Tango Regex Access Violation | ||||
---|---|---|---|---|
| ||||
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 Re: Tango Regex Access Violation | ||||
---|---|---|---|---|
| ||||
Posted in reply to yidabu | 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 Re: Tango Regex Access Violation | ||||
---|---|---|---|---|
| ||||
Posted in reply to yidabu | 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 Re: Tango Regex Access Violation | ||||
---|---|---|---|---|
| ||||
Posted in reply to torhu | 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/ |
Copyright © 1999-2021 by the D Language Foundation