Skip to content

Conversation

@chillinPanda
Copy link

Using the provided regex to split words, there will be "thee." in the result list.

This is not a deal breaker for the counting exercise.

This assert fails with the provided regex:

assertThat(
        sonnet.stream().flatMap(pattern::splitAsStream)
).doesNotContain("thee.");

"thee." will be in the list. Not a deal breaker for the counting exercise. See:

assertThat(
        sonnet.stream().flatMap(pattern::splitAsStream)
).doesNotContain("thee.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant