diff options
author | Adam Scarr <adam@vektah.net> | 2017-08-10 22:22:19 +1000 |
---|---|---|
committer | Adam Scarr <adam@vektah.net> | 2017-08-10 22:22:19 +1000 |
commit | 79d2c5e1c9ffefc47401a120605010954bf6a2db (patch) | |
tree | 531a6b7c10e6a2bfe45635cebb466c347a13b1d5 | |
parent | 945e9f0ef0d9e1e678435d3090d4a742f6682440 (diff) |
Fix cut example
-rw-r--r-- | examples_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |