Here I have added a custom message for this purpose (see patch)
Usage in plugin :
Register in constructor (here CompilerLCC)
And use in registered function. Each log line is passed in event.title
Manager::Get()->RegisterEventSink(cbEVT_ADD_BUILD_LOG, new cbEventFunctor<CompilerLCC, CodeBlocksLogEvent>(this, &CompilerLCC::OnAddLog));
void CompilerLCC::OnAddLog(CodeBlocksLogEvent& event)
{
if (event.title.StartsWith(_T("lcclnk"))) ...
}
It permit to handle things that don't really fit on standard Regexp handler