Closed edkolev closed 7 years ago
@edkolev, yes, I think it is a nice approach. Please let's add tests to this pull!
I've just merged #120
While adding tests, I found this issue:
hello [w]orld
ysw'
hello 'worl'd
, which is incorrectAnother issue:
[h]ello world
ysw'
'hello ' world
, which again is wrongI'll let you know if I get this sorted.
@edkolev, awesome that the test discipline helped to catch that.
Closing, see #122
This seems like a simple solution to #117
@ninrod let me know if you think this approach is OK, and I'll add tests.
120 should probably be merged first though, so we get better test coverage when this is merged.