Regexes to deal with snippet mercury regions