Re: [RFC/PATCH] diff: funcname and word patterns for perl
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Dec 26, 2010, 10:54 UTC
- Message-ID
- <20101226105441.GA27039@burratino>
- In-Reply-To
- <201012261143.33190.trast@student.ethz.ch>
Thomas Rast wrote:
> Jonathan Nieder wrote:
Show 6 quoted lines
>> + "|[^[: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?