Bug 17673 – wrong whichPattern in multi-regex with alteration

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-07-20T22:22:42Z
Last change time
2018-01-05T13:31:14Z
Keywords
pull
Assigned to
Dmitry Olshansky
Creator
Nikolay (unDEFER) Krivchenkov

Comments

Comment #0 by undefer — 2017-07-20T22:22:42Z
regex returns whichPattern wrongly The code demonstrating the problem: https://dpaste.dzfl.pl/d7f94068608e
Comment #1 by dmitry.olsh — 2017-07-26T08:47:59Z
Comment #2 by dmitry.olsh — 2017-07-26T08:48:18Z
(In reply to Dmitry Olshansky from comment #1) > https://github.com/dlang/phobos/pull/5660 Sorry wrong window.
Comment #3 by dmitry.olsh — 2017-08-24T11:28:02Z
Comment #4 by github-bugzilla — 2017-08-24T14:09:57Z
Commits pushed to stable at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/5fbab17c47c4f3993fd74eb81931eb628bf0473c Fix issue 17673 - wrong whichPattern in multi-regex with alteration https://github.com/dlang/phobos/commit/bc367dae1e25b0b282c4456480812039f6c732d3 Merge pull request #5702 from DmitryOlshansky/issue-17673-stable Fix issue 17673 - wrong whichPattern in multi-regex with alteration merged-on-behalf-of: MetaLang <[email protected]>
Comment #5 by github-bugzilla — 2017-08-25T18:43:53Z
Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/5fbab17c47c4f3993fd74eb81931eb628bf0473c Fix issue 17673 - wrong whichPattern in multi-regex with alteration https://github.com/dlang/phobos/commit/bc367dae1e25b0b282c4456480812039f6c732d3 Merge pull request #5702 from DmitryOlshansky/issue-17673-stable
Comment #6 by github-bugzilla — 2018-01-05T13:31:14Z
Commits pushed to dmd-cxx at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/5fbab17c47c4f3993fd74eb81931eb628bf0473c Fix issue 17673 - wrong whichPattern in multi-regex with alteration https://github.com/dlang/phobos/commit/bc367dae1e25b0b282c4456480812039f6c732d3 Merge pull request #5702 from DmitryOlshansky/issue-17673-stable