Web Inspector: speedup highlight regex API in DefaultTextEditor