Don't look up before/after code points more than once in word boundary