Updated tea source to use regexp literals.