[Issue 12105] ctRegex errors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 8 02:36:36 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12105


Dmitry Olshansky <dmitry.olsh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh at gmail.com
         AssignedTo|nobody at puremagic.com        |dmitry.olsh at gmail.com


--- Comment #1 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2014-02-08 02:36:30 PST ---
Somewhat reduced, the lookaround and lazy repetition are required:

import std.regex;
auto r = ctRegex!`.*?(?!)`;
void main() {}

The second case looks like a compiler bug, especially since it requires some
combination of flags.

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


More information about the Digitalmars-d-bugs mailing list