[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 5489: improve prall glyphs (issue 341560043 by address@hidden)
From: |
David Kastrup |
Subject: |
Re: Issue 5489: improve prall glyphs (issue 341560043 by address@hidden) |
Date: |
Sun, 03 Mar 2019 13:20:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
address@hidden writes:
> On 2019/03/03 09:37:01, thomasmorley651 wrote:
>> Thanks for correcting the imho wrong spelling of "trilelement".
>> Please add a conversion rule for it. Sometimes I used "trilelement"
> and maybe
>> I'm not the only one.
>
> Is it as easy as adding
>
> str = re.sub (r'"scripts.trilelement"', r'"scripts.trillelement"',
> str)
More like
str = re.sub (r'"scripts\.trilelement"', r'"scripts\.trillelement"', str)
Sort of ironic to use raw strings here for the sake of easier
backslash-quoting and then not even backslash-quote the necessary parts.
--
David Kastrup