Skip to content

Commit ea8f0e4

Browse files
committed
readme
1 parent ed33767 commit ea8f0e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dot-parse/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ try (Reader reader = ...) {
4848

4949
## Example — Block Comment
5050

51-
Non-nestable block comment like `/* this is a comment */` is pretty easy to parse:
51+
Non-nestable block comment like `/* this is * in a comment */` is pretty easy to parse:
5252

5353
```java {.good}
5454
import static com.google.mu.util.CharPredicate.isNot;
@@ -60,7 +60,7 @@ import static java.util.stream.Collectors.joining;
6060
Parser<String> content = Parser.anyOf(consecutive(isNot('*')), string("*").notFollowedBy("/"));
6161
Parser<String> blockComment = content.zeroOrMore(joining())
6262
.between("/*", "*/");
63-
blockComment.parse("/* this is comment */ ");
63+
blockComment.parse("/* this is * in a comment */ ");
6464
```
6565

6666
That's it.

0 commit comments

Comments
 (0)