Update definition of partial match and fix \z and \Z (as documented).

13 files changed