Fast regular expression grep for source code with incremental index updates