Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created May 14, 2020 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/3adee0ae44fb6c989b46ea6b1488580b to your computer and use it in GitHub Desktop.
Save Whateverable/3adee0ae44fb6c989b46ea6b1488580b to your computer and use it in GitHub Desktop.
evalable6
grammar A { regex TOP {<text>*}; regex separators {\h||\,}; regex allowed {\V <-[\h||\,]>}; regex text {<allowed>*<separator>*};
(exit code 1)
===SORRY!===
Missing block
at /tmp/L7k6skT0eb:1
------> >}; regex text {<allowed>*<separator>*};⏏<EOL>
Other potential difficulties:
Repeated character (|) unexpectedly found in character class
at /tmp/L7k6skT0eb:1
------> ors {\h||\,}; regex allowed {\V <-[\h||\⏏,]>}; regex text {<allowed>*<separator>*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment