Skip to content

Commit

Permalink
change formate for options
Browse files Browse the repository at this point in the history
  • Loading branch information
pelevesque committed Jul 4, 2019
1 parent 837a3b6 commit b87ea27
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ const result = hasRequiredSubstringsAtIndexes(str, requiredSubstrings)
// result === true
```

### allowLastSubstringToBleed Option
### Options

#### allowLastSubstringToBleed

The `allowLastSubstringToBleed` option is `false` by default. It it used when you want
to allow the last substring to be incomplete if the string is too short.
Expand All @@ -106,7 +108,7 @@ const result = hasRequiredSubstringsAtIndexes(str, requiredSubstrings, {
// result === true
```

### ignoreSubstringsOutsideString Option
#### ignoreSubstringsOutsideString

The `ignoreSubstringsOutsideString` option is `false` by default. When set to
`true`, required substrings that fall outside the string length will be ignored.
Expand Down

0 comments on commit b87ea27

Please sign in to comment.