Skip to content

Instantly share code, notes, and snippets.

@Derekokich
Created August 18, 2014 21:19
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 Derekokich/ff08e843069633924c2e to your computer and use it in GitHub Desktop.
Save Derekokich/ff08e843069633924c2e to your computer and use it in GitHub Desktop.
regexblog9
def concat: Parser[RegexExpr] = rep(lowExpr)
^^ { case list => listToConcat(list)}
def midExpr: Parser[RegexExpr] = concat | lowExpr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment