Re: [PATCH] userdiff: two simplifications of patterns for rust

2019-05-30 Thread Johannes Sixt
Am 30.05.19 um 20:59 schrieb Ævar Arnfjörð Bjarmason: > > On Thu, May 30 2019, Johannes Sixt wrote: > >> - Do not enforce (but assume) syntactic correctness of language >> constructs that go into hunk headers: we only want to ensure that >> the keywords actually are words and not just the ini

Re: [PATCH] userdiff: two simplifications of patterns for rust

2019-05-30 Thread Ævar Arnfjörð Bjarmason
On Thu, May 30 2019, Johannes Sixt wrote: > - Do not enforce (but assume) syntactic correctness of language > constructs that go into hunk headers: we only want to ensure that > the keywords actually are words and not just the initial part of > some identifier. > > - In the word regex, mat

[PATCH] userdiff: two simplifications of patterns for rust

2019-05-30 Thread Johannes Sixt
- Do not enforce (but assume) syntactic correctness of language constructs that go into hunk headers: we only want to ensure that the keywords actually are words and not just the initial part of some identifier. - In the word regex, match numbers only when they begin with a digit, but then