should search for . first then : following on.  Otherwise

abc:def.ghi will crash the following code.