Re: [RFC/PATCH] diff: funcname and word patterns for perl
From: Jonathan Nieder <hidden> Date: 2016-06-15 22:50:18
Thomas Rast wrote:
Jonathan Nieder wrote:
quoted
+ "|[^[:space:]]"),
I think it should get the |[\x80-\xff]+ arm, too. That one was
designed to avoid splitting UTF-8 characters. At the risk of gluing
together too many of them, of course, but I think confusing the
terminal would be worse.
Hmm. Should it be
|([\x80-\xff]+[\x00-\x7f])
then, to match exactly one multibyte UTF-8 character?