digitalmars.D.bugs - [Issue 7679] New: std.regex.split and splitter don't work w/ ctRegex
- d-bugmail puremagic.com (31/31) Mar 10 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7679
- d-bugmail puremagic.com (11/11) Mar 12 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7679
- d-bugmail puremagic.com (11/11) Mar 15 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7679
- d-bugmail puremagic.com (9/9) Mar 22 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7679
http://d.puremagic.com/issues/show_bug.cgi?id=7679 Summary: std.regex.split and splitter don't work w/ ctRegex Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: dsimcha yahoo.com Looks like it's just a constraint issue. import std.regex; void main() { enum re = ctRegex!"."; auto str = "a.b"; std.regex.splitter(str, re); } test.d(6): Error: template std.regex.splitter(Range,RegEx) if (is(BasicElementOf!(Range) : dchar) && is(RegEx == Regex!(BasicElementOf!(Range)))) does not match any function template declaration test.d(6): Error: template std.regex.splitter(Range,RegEx) if (is(BasicElementOf!(Range) : dchar) && is(RegEx == Regex!(BasicElementOf!(Range)))) cannot deduce template function from argument types !()(string,StaticRegex!(char)) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 10 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7679 Dmitry Olshansky <dmitry.olsh gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry.olsh gmail.com 03:13:19 PDT --- https://github.com/D-Programming-Language/phobos/pull/490 BTW probably you meant ctRegex!r"\." -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 12 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7679 Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/9ce1020904a4fd99e880038686bf0cccbb1f3cff fix Issue 7679 - std.regex.split and splitter don't work w/ ctRegex https://github.com/D-Programming-Language/phobos/commit/4c3ddc268882e777f2a6dd513a633919f2795c13 fix Issue 7679 - std.regex.split and splitter don't work w/ ctRegex -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 15 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7679 Dmitry Olshansky <dmitry.olsh gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 22 2012