Skip to content

Commit d16b788

Browse files
committed
anyCharIn(characterClass) and oneOrMoreCharsIn(characterClass) for more convenient primitives.
1 parent 8de3176 commit d16b788

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
@@ -95,7 +95,7 @@ public abstract class Parser<T> {
9595
* character set.
9696
*
9797
* @param characterSet regex-like character set but disallows backslash so doesn't
98-
* support escaping. If your character set includes special characters like backslash
98+
* support escaping. If your character set includes special characters like literal backslash
9999
* or right bracket, use {@link #single} with the corresponding {@link CharPredicate}.
100100
* @throws IllegalArgumentException if {@code characterSet} includes backslash
101101
* or the right bracket (the outmost pairs of {@code []} are allowed and ignored.).
@@ -135,7 +135,7 @@ public static Parser<Character> single(CharPredicate matcher, String name) {
135135
* character set.
136136
*
137137
* @param characterSet regex-like character set but disallows backslash so doesn't
138-
* support escaping. If your character set includes special characters like backslash
138+
* support escaping. If your character set includes special characters like literal backslash
139139
* or right bracket, use {@link #consecutive} with the corresponding {@link CharPredicate}.
140140
* @throws IllegalArgumentException if {@code characterSet} includes backslash
141141
* or the right bracket (the outmost pairs of {@code []} are allowed and ignored.).

0 commit comments

Comments
 (0)