use common syntax for tag search
add start and end recognition events