git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479895 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Wolfgang Hoschek 2006-11-28 04:36:41 +00:00
parent 64d4421321
commit 8dc26ad30e
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ import org.apache.lucene.analysis.TokenStream;
*/
public class PatternAnalyzer extends Analyzer {
/** <code>"\\W+"</code>; Divides text at non-letters (Character.isLetter(c)) */
/** <code>"\\W+"</code>; Divides text at non-letters (!Character.isLetter(c)) */
public static final Pattern NON_WORD_PATTERN = Pattern.compile("\\W+");
/** <code>"\\s+"</code>; Divides text at whitespaces (Character.isWhitespace(c)) */