From 79c608590ad2b5de677c6ae9893a43c17b5fef9a Mon Sep 17 00:00:00 2001 From: Wyatt Alt Date: Sat, 6 Jan 2024 11:58:13 -0800 Subject: [PATCH] Update README.md (#386) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ec5d2937..53180f81 100644 --- a/README.md +++ b/README.md @@ -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+`},