Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Regex with -debug flag causes access violation

Moderators: kris

Posted: 10/26/08 08:28:14

Compiling a simple Regex example with the -debug flag, causes an access violation when the resulting program is excuted. Tango 0.99.7 DMD 1.033.

import tango.io.Stdout; import tango.text.Regex;

void main() {

auto strs = Regex("ab").split("abcabcababqwer");

foreach( s; strs ) {

Stdout.formatln("{}", s);

}

}

C:> dmd -w -g -debug test.d

C:> test

object.Exception: Access Violation

There are no responses to display.