Avoid matching boundaries when pattern is empty
authorJoe Littlejohn <joelittlejohn@gmail.com>
Fri, 16 Nov 2018 15:29:59 +0000 (15:29 +0000)
committerJoe Littlejohn <joelittlejohn@gmail.com>
Fri, 16 Nov 2018 15:34:02 +0000 (15:34 +0000)
commite58a3305b0b839b710781676f4730c4ecef3b926
tree0069932d63b2bb17d0c5f7266149a30c1a36ad36
parent264ec1fa3cfb5e201e98f74b47059ac96ba330d1
Avoid matching boundaries when pattern is empty

When options include {whole-words? true} this change fixes an edge-case
when the strs are empty. The pattern should match nothing.
src/cljc/frak.cljc
test/frak_test.clj