Precompiled Headers not working (MacOSX Lion, XCode 4.6.2, Python 2.7.4 from Homebrew)

It seems the regular expression to match the precompiled header was not working for me. This change fixed the problem.

For some reason, if I only change the regexp processing, it becomes an infinite loop. This does not happen with the modified looping on the log lines.