fixed tag regex pattern to avoid issues