- Javadoc typos

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533184 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2007-04-27 18:25:11 +00:00
parent ddc153ac37
commit 1b4417fb90
1 changed files with 4 additions and 4 deletions

View File

@ -39,18 +39,18 @@ import java.util.regex.Pattern;
* "pattern" is the regular expression. * "pattern" is the regular expression.
* "group" says which group to extract into tokens. * "group" says which group to extract into tokens.
* *
* group=-1 (the default) is equuivolent to "split". In this case, the tokes will * group=-1 (the default) is equivalent to "split". In this case, the tokens will
* be equivolent to the output from: * be equivalent to the output from:
* *
* http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#split(java.lang.String) * http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#split(java.lang.String)
* *
* Using group >= 0 selects the matching group as the token. For example, it you have: * Using group >= 0 selects the matching group as the token. For example, if you have:
* *
* pattern = \'([^\']+)\' * pattern = \'([^\']+)\'
* group = 0 * group = 0
* input = aaa 'bbb' 'ccc' * input = aaa 'bbb' 'ccc'
* *
* the output will be two tokens: 'bbb' and 'ccc' (including the ' marks). With the same input * the output will be two tokens: 'bbb' and 'ccc' (including the ' marks). With the same input
* but using group=1, the output would be: bbb and ccc (no ' marks) * but using group=1, the output would be: bbb and ccc (no ' marks)
* *
* *