using a common tag regex for searching and highlighting