From 3a99fffe397fbb2995d950088d248d685e4e62cb Mon Sep 17 00:00:00 2001 From: Wyatt Alt Date: Sat, 6 Jan 2024 10:19:24 -0800 Subject: [PATCH] Update README.md --- 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+`},