www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10801] New: std.regex: support for lookbehind in ctRegex

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10801

           Summary: std.regex: support for lookbehind in ctRegex
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: dmitry.olsh gmail.com


--- Comment #0 from Dmitry Olshansky <dmitry.olsh gmail.com> 2013-08-11
13:57:30 PDT ---
The last missing feature of ctRegex compared to regex.

For example the following test should pass.

import std.algorithm, std.regex;

void main()
{
    auto cr = ctRegex!(`(?<=(ab))\d`);
    auto m = match("12ba3ab4", cr); 
    assert(m);
    assert(m.hit == "4");
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 11 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10801


Andrei Alexandrescu <andrei erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei erdani.com
         AssignedTo|nobody puremagic.com        |dmitry.olsh gmail.com
           Severity|normal                      |blocker


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 15 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10801


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies gmail.com


--- Comment #1 from yebblies <yebblies gmail.com> 2013-08-29 22:46:02 EST ---
Andrei, it would be helpful if you could please comment on why these seemingly
normal bugs are blockers.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 29 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10801



--- Comment #2 from Andrei Alexandrescu <andrei erdani.com> 2013-08-29 08:22:24
PDT ---
 yebblies at Facebook are experimenting with D regex performance on a few
workloads.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 29 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10801


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


--- Comment #3 from Dmitry Olshansky <dmitry.olsh gmail.com> 2013-08-29
08:39:02 PDT ---
Fixed by:

https://github.com/D-Programming-Language/phobos/commit/c37a5d865a636137d037b2df3d172f4058798df3

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 29 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10801



--- Comment #4 from yebblies <yebblies gmail.com> 2013-08-30 18:13:02 EST ---
(In reply to comment #2)
  yebblies at Facebook are experimenting with D regex performance on a few
 workloads.
Interesting. You could also add the 'industry' keyword to these issues to raise their profile. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 30 2013