Fix Bug 19678 - libc++ does not correctly handle the regex: '[^\0]*'

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@209307 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 21622af9d798be9c56e9da0ec0187adf75fc2d27)
2 files changed