Comment #2 by john.loughran.colvin — 2016-06-07T14:06:23Z
I don't think match calls empty anywhere except inside an assert.
Comment #3 by code — 2016-06-07T17:53:56Z
match() is just one of a number of @trusted range functions in that module (see e.g. the declarations immediately surrounding it). This example is just to illustrate that this indeed leads to a real problem with safety.
Careful auditing of the use of @trusted in the module will be required to fully resolve this issue.
Comment #4 by github-bugzilla — 2016-06-08T15:26:24Z