fix a bug about highlight of regexp