On Sat, Feb 4, 2023 at 6:32 AM demerphq <demerphq@xxxxxxxxx> wrote: > I think that if you look at other broadly ported projects there is > evidence that owning your own dependencies makes a project easier and > cheaper to port to new platforms. […] No doubt there > are many other long running projects with precedents in this area. > What does Vi or Vim do? What does Emacs do? Etc. Vi and Vim have their own pattern language descended from Ed. They thus have their own implementation for it. (Vim's has at least two different "engines" powering the same syntax, and tries to automatically pick the best one in case; I'm not sure if Vim compiles the patterns before using them.) The advantage is that, as has been pointed out, you can rely on Vi or Vim patterns. … Any thoughts on some sort of stop-gap measure to fix --word-diff while Git decides how to handle the regex engine incompatibilities? How important is the sequence of bytes at the end of --word-diff regexes in userdiff.c? -- D. Ben Knoble