protected function index(array $chars)
    {
        $index = [];

        foreach ($chars as $key => $char) {
            if (preg_match('/[\p{Han}\w]+/u', $char)) {
                $index[] = $key;
            }
        }

        return $index;
    }