Haiku like Linux provides <regex.h>, so use it. Patch by Paul Davey! llvm-svn: 106620
See docs/CMake.html for instructions on how to build LLVM with CMake.