mirror of https://github.com/apache/lucene.git
javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479895 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
64d4421321
commit
8dc26ad30e
|
@ -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)) */
|
||||
|
|
Loading…
Reference in New Issue