Hacker News new | ask | show | jobs
by psykotic 1840 days ago
It's not widely known but PCRE (which I assume is still the most widely used regex library) supports partial matching which you can use to interoperate with any piecewise linear string representation (ropes, gap buffers, etc).