Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #22 from PCTiby/master

Add no-slurp hint for Instaparse
  • Loading branch information...
commit 76b9e5c7295111342539cd33111678e5bf9ce4cc 2 parents ff931a1 + b46e256
@weavejester authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/clout/core.clj
View
3  src/clout/core.clj
@@ -65,7 +65,8 @@
param = key pattern?
key = <':'> #'([\\p{L}_][\\p{L}_0-9-]*)'
- pattern = '{' (#'(?:[^{}\\\\]|\\\\.)+' | pattern)* '}'"))
+ pattern = '{' (#'(?:[^{}\\\\]|\\\\.)+' | pattern)* '}'"
+ :no-slurp true))
(defn- parse [parser text]
(let [result (insta/parse parser text)]
Please sign in to comment.
Something went wrong with that request. Please try again.