[Issue 16698] std.regex.matchFirst corrupts stack

2016-11-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16698

ag0ae...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #3 from ag0ae...@gmail.com ---
Issue 16699 has been fixed and the code here works as expected now. I don't
think we need to add the regex code to the test suite (feel free to do that,
though). Closing as duplicate of 16699.

*** This issue has been marked as a duplicate of issue 16699 ***

--


[Issue 16698] std.regex.matchFirst corrupts stack

2016-11-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16698

ag0ae...@gmail.com changed:

   What|Removed |Added

 CC||ag0ae...@gmail.com

--- Comment #2 from ag0ae...@gmail.com ---
Reduced to a compiler bug: issue 16699. Filed separately because the regex
issue can possibly be fixed by working around the compiler bug.

--


[Issue 16698] std.regex.matchFirst corrupts stack

2016-11-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16698

Marc Schütz  changed:

   What|Removed |Added

 CC||schue...@gmx.net

--- Comment #1 from Marc Schütz  ---
Digger says:

commit 74a3133b9a6f501938e1b808282dfcbaa24691be
Author: Ilya Yaroshenko 
Date:   Tue Apr 26 14:31:35 2016 +0300

phobos: Merge pull request #4142 from DmitryOlshansky/regex-ref-counting

https://github.com/D-Programming-Language/phobos/pull/4142

[std.regex] Use ref-counting for Captures struct

--