Bug 10801 – std.regex: support for lookbehind in ctRegex

Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-08-11T13:57:00Z
Last change time
2013-08-30T01:13:02Z
Assigned to
dmitry.olsh
Creator
dmitry.olsh

Comments

Comment #0 by dmitry.olsh — 2013-08-11T13:57:30Z
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"); }
Comment #1 by yebblies — 2013-08-29T05:46:02Z
Andrei, it would be helpful if you could please comment on why these seemingly normal bugs are blockers.
Comment #2 by andrei — 2013-08-29T08:22:24Z
@yebblies at Facebook are experimenting with D regex performance on a few workloads.
Comment #3 by dmitry.olsh — 2013-08-29T08:39:02Z
Comment #4 by yebblies — 2013-08-30T01:13:02Z
(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.