andrewmcveigh / cljs-time

A clj-time inspired date library for clojurescript.
342 stars 57 forks source link

Fix parse-quoted multi-char bug #111

Closed andrewmcveigh closed 6 years ago

andrewmcveigh commented 6 years ago

Where quoted text was larger than one char, the regex we were building to match quoted text was incorrect. We fix that and create the quoted regex pattern in a closure, only constructing the pattern once per parser.

Fixes: #103