Skip to content

Commit 8ffc726

Browse files
committed
\w+ for WORD, \d+ for DIGITS
1 parent c0eb82c commit 8ffc726

File tree

1 file changed

+2
-2
lines changed
  • dot-parse/src/main/java/com/google/common/labs/parse

1 file changed

+2
-2
lines changed

dot-parse/src/main/java/com/google/common/labs/parse/Parser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@
6363
*/
6464
public abstract class Parser<T> {
6565
/**
66-
* One or more regex {@code \w} characters.
66+
* One or more regex {@code \w+} characters.
6767
*
6868
* @since 9.4
6969
*/
7070
public static final Parser<String> WORD = consecutive(CharPredicate.WORD, "word");
7171

7272
/**
73-
* One or more regex {@code \d} characters.
73+
* One or more regex {@code \d+} characters.
7474
*
7575
* @since 9.4
7676
*/

0 commit comments

Comments
 (0)