[Issue 5003] regex(replace with delegate) sample doesn't work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 6 01:13:42 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=5003



--- Comment #6 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-05-06 01:13:40 PDT ---
(In reply to comment #5)
> Dmitry, any chance you could close this by (a) submitting a pull request
> changing the code sample so that it works, and (b) submitting a bug report for
> dmd? Thanks!

'a' is impossible since the question is about this particular sample presented
in Bugzilla (and there is no pull request for that ;) ) that's no longer
applicable. 

See new example that uses Captures!string:
http://dlang.org/phobos/std_regex.html#.replace

I'll try my hand at 'b' but it's tricky as it involves at least a getting
problem statement. And to do that...

1) Get the old phobos with std.regex
2) Run compiler(s) starting from 2.042+ and/or patching old source so that it
works with later compiler
3) Recreating error with the current HEAD (if it's not fixed yet)

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


More information about the Digitalmars-d-bugs mailing list