Skip to content

Commit

Permalink
docs: improve wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Bikossor committed Aug 13, 2022
1 parent df3ae2c commit 92ecd46
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion website/docs/api/combinators/anyOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const anyOf: (parsers: Array<Parser>) => Parser;

## Example

In this example we are going to parse either a `Hello` or a `World`.
In this example we are going to parse either the string `"Hello"` or `"World"`.

```ts
import { anyOf, string } from "rudus";
Expand Down
2 changes: 1 addition & 1 deletion website/docs/api/parsers/endOfInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const endOfInput: () => Parser;

## Example

In this example we are going to parser a `Hello` followed by a newline.
In this example we are going to parser the string `"Hello"` followed by a newline.

```ts
import { endOfInput, sequenceOf, string } from "rudus";
Expand Down
2 changes: 1 addition & 1 deletion website/docs/api/parsers/endOfLine.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const endOfLine: () => Parser;

## Example

In this example we are going to parser a `Hello` followed by a newline.
In this example we are going to parser the string `"Hello"` followed by a newline.

```ts
import { endOfLine, sequenceOf, string } from "rudus";
Expand Down
2 changes: 1 addition & 1 deletion website/docs/api/parsers/regex.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const regex: (searchString: RegExp) => Parser;

## Example

In this example we are going to parse the strings `Hello` and `Hallo` using the same parser.
In this example we are going to parse the strings `"Hello"` and `"Hallo"` using the same parser.

```ts
import { regex, sequenceOf, whitespace } from "rudus";
Expand Down

0 comments on commit 92ecd46

Please sign in to comment.