Expand and annotate string to tag parsing regex