void (final CharSequence chars, char @Nullable [] charsArray, final int start, final int end) { final String word = chars.subSequence(start, end).toString(); if (matcher.matches(word)) { words.add(word); } }