donnerpeter commented on a change in pull request #19: URL: https://github.com/apache/lucene/pull/19#discussion_r594078297
########## File path: lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/TestPerformance.java ########## @@ -181,7 +192,8 @@ private Path findAffFile(String code) throws IOException { String line = reader.readLine(); if (line == null) break; - for (String token : line.split("[^a-zA-Z" + Pattern.quote(dictionary.wordChars) + "]+")) { + for (String token : + line.split("[^\\p{IsLetter}" + Pattern.quote(dictionary.wordChars) + "]+")) { Review comment: All cyrilic letters were skipped before this change :( ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org