Fixed bug with multibyte strings failing the first . also respect word
boundaries.