Some distributions of python have their version defined as follows in patchlevel.h (note the '+'):
#define PY_VERSION "2.7.9+"
The '+' char needs to be stripped by the cmake regex so that LLDBs python lib detection is successfull.
Note: \+ would have been nicer instead of [+] but that doesn't seem to be supported by CMake.