Add missing code to naive-pattern in benchmark
authorJoel Holdbrooks <cjholdbrooks@gmail.com>
Thu, 1 Aug 2013 23:56:05 +0000 (16:56 -0700)
committerJoel Holdbrooks <cjholdbrooks@gmail.com>
Thu, 1 Aug 2013 23:56:05 +0000 (16:56 -0700)
README.md

index d695a648780d2744d93fb6e2119859fd34627dbf..3c439e953b89c6e1dd8d9dc6d0b2504c9f2aae37 100644 (file)
--- a/README.md
+++ b/README.md
@@ -97,7 +97,8 @@ You can view the full expression
   [strs]
   (->> strs
        (clojure.string/join "|")
-       (format "(?:%s)")))
+       (format "(?:%s)")
+       re-pattern))
 
 ;; Shuffle 10000 words and build a naive and frak pattern from them.
 (def ws (shuffle (take 10000 words)))