From: Emma Brooks Date: Tue, 21 Apr 2020 02:22:56 GMT Subject: Re: [PATCH] userdiff: support Markdown Message-ID: <20200421022256.GA29071@pluvano.com> In-Reply-To: <20200421010035.13915-1-ash@sorrel.sh> On 2020-04-21 02:00:35+0100, Ash Holland wrote: > I would also appreciate feedback on the word-diff pattern here, I have > no real idea what should constitute a word in a Markdown document, apart > from that it should probably be similar to the definition given for > Fountain, given that Fountain appears to have somewhat similar inline > syntax to Markdown. Since Markdown can have raw HTML tags in many variants, it may make sense to extend the word pattern to "[^<>= \t]+" like HTML's pattern so tags starting/ending will not be considered part of a word.