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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Dmitry Olshansky <[email protected]> 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: -------