This has been officially classified as a bug and subsequently fixed, together with another problem concerning \Z anchors in multiline strings.
This has been officially classified as a bug and subsequently fixed, together with another problem concerning \Z anchors in multiline strings.