[Issue 4627] Ideas for std.regex.match usage syntax

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 6 10:38:16 PDT 2011


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



--- Comment #2 from bearophile_hugs at eml.cc 2011-06-06 10:33:45 PDT ---
(In reply to comment #1)
> Resolved ?

You have improved the D regular expressions a lot, it seems.

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