Summary: [patch] std.regex.replace disallows w/dstring
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch, rejects-valid
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Haruki Shigemori <> 2011-03-06 10:47:47 
PST ---
Created an attachment (id=930)
std.regex.replace came to accept w/dstring

This issue was reported at

import std.regex;
void main() {
 .replace("a", .regex("a"), "b"); // ok
 .replace("a"w, .regex("a"w), "b"w); // compile error
 .replace("a"d, .regex("a"d), "b"d); // compile error

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to