rstudio/rstudio — comment on commit 01c5523a3bcdefb7ad85a66a468e23ad1dae784f
File: src/cpp/session/modules/SessionSourceControl.cpp line 738
By jjallaire:

I seem to dimly remember once having a wierd problem with function local statics with constructor arguments -- I think it was a crash on the Mac (caused by older version of GCC on the Mac). I wish I could pinpoint this better, but I think we should either drop the static or create a file level static for regexes (see TokenPatterns class in RTokenizer.cpp)