← Back to index
|
Original Bugzilla link
Bug 11770 – std.regex.Captures should be convertible to bool
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-19T00:16:00Z
Last change time
2014-01-06T07:58:18Z
Keywords
pull
Assigned to
nobody
Creator
doob
Comments
Comment #0
by doob — 2013-12-19T00:16:25Z
Just as RegexMatch is convertible to bool via opCast I think Captures should be that as well.
Comment #1
by dmitry.olsh — 2013-12-19T09:48:14Z
https://github.com/D-Programming-Language/phobos/pull/1789
Comment #2
by github-bugzilla — 2013-12-19T11:24:42Z
Commits pushed to master at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/66f2b67e4e9443e0fee8e085b4c2d92cd8a66af9
fix issue 11770 std.regex.Captures should be convertible to bool
https://github.com/D-Programming-Language/phobos/commit/22b2a267e86559525f7c76ae5ee9985328102a29
Merge pull request #1789 from blackwhale/opcast-regex fix issue 11770 std.regex.Captures should be convertible to bool