From 79d2c5e1c9ffefc47401a120605010954bf6a2db Mon Sep 17 00:00:00 2001 From: Adam Scarr Date: Thu, 10 Aug 2017 22:22:19 +1000 Subject: [PATCH] Fix cut example --- examples_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples_test.go b/examples_test.go index b4a8086..066ce01 100644 --- a/examples_test.go +++ b/examples_test.go @@ -4,7 +4,7 @@ import ( "fmt" ) -func ExampleCuts() { +func ExampleCut() { // without a cut if the close tag is left out the parser will backtrack and ignore the rest of the string alpha := Chars("a-z") nocut := Many(Any(Seq("<", alpha, ">"), alpha))