Skip to content

Commit

Permalink
cleaned up README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pelevesque committed Jul 1, 2019
1 parent 54d8683 commit cfb49c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ const result = hasRequiredSubstringsAtSums(str, requiredSubstrings, {
### AllowSubstringBleeding Flag

The `allowSubstringBleeding` flag is `false` by default. It it used when you want
to allow the last required substring to be incomplete if the string is too short.
In the following example, the last substring `canal` starts after the right sum,
to allow the last substring to be incomplete if the string is too short.
In the following example, the last substring `canal` starts at the correct index,
but remains incomplete since the string ends. Normally this would return `false`.
With `allowSubstringBleeding` set to `true`, it returns `true`.

Expand Down

0 comments on commit cfb49c2

Please sign in to comment.