Skip to content

Commit

Permalink
Update README.md (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkalt committed Jan 6, 2024
1 parent 7147047 commit 79c6085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -395,7 +395,7 @@ own _stateless_ lexer using the `lexer.MustSimple()` and
For example, the lexer for a form of BASIC:

```go
var basicLexer = stateful.MustSimple([]stateful.SimpleRule{
var basicLexer = lexer.MustSimple([]lexer.SimpleRule{
{"Comment", `(?i)rem[^\n]*`},
{"String", `"(\\"|[^"])*"`},
{"Number", `[-+]?(\d*\.)?\d+`},
Expand Down

0 comments on commit 79c6085

Please sign in to comment.