fixed regular expression to filter tags for grical