[Issue 4604] A stack overflow with writeln

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 6 11:13:45 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4604



--- Comment #1 from bearophile_hugs at eml.cc 2011-06-06 11:09:15 PDT ---
Dmitry Olshansky has suggested me to add this that comes from issue 4627:

To me this program crashes at runtime (DMD 2.053):


import std.stdio, std.regex;
void main() {
    foreach (m; match("125 155 ss25", r"\d+"))
        writeln(m);        
}


If I use this line it works:
writeln(m.toString());

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list