Closed jimpil closed 8 years ago
thx, i will fix it tomorrow.
Without having given this too much thought, i think it would make sense to require a \space before AND after the token in question. So basically you can replace the initial "(" character with a \space. Then this (for example) would work:
(map partial fn-coll arg-coll)
good point! maybe i should refactor the folding strategy :)
Example:
(partial f :a) => should trigger (partial-amount :whatever) => should NOT trigger
In general, i think you should make all your regexes trigger only if the token in question appears as standalone. That would mean that a /space is always the last character. Hope that helps :)