bug 898221 - search backwards for the last punycode delimiter instead of forwards. r=hurley