Il 03/09/20 22:16, Chris Angelico ha scritto:
Hmm. Have you considered using CSS to do this? Markdown is generally
fairly easy to style with CSS.
Yes, infact these are files where I'll insert a tag (in the example
, to show the errors find at a second revision due they are of
another kind, b
On Fri, Sep 4, 2020 at 5:36 AM Termoregolato wrote:
>
> Il 03/09/20 16:10, Termoregolato wrote:
>
> > I need to change every occurrence of a sequence between two chars
>
> Thanks to all for your replies, it's time to learn regular expressions,
> but now I've some valid pointers from you.
>
> The w
Il 03/09/20 16:10, Termoregolato wrote:
I need to change every occurrence of a sequence between two chars
Thanks to all for your replies, it's time to learn regular expressions,
but now I've some valid pointers from you.
The work I must do here, to explain, is to get some markdown files, an
Derp, sorry about the noise. I mistook this message for a similar
dialog over on the Vim mailing list.
For Python, you want
re.sub(r"%%(.*?)%%", r"\1", s, flags=re.S)
or put the flag inline
re.sub(r"(?s)%%(.*?)%%", r"\1", s)
-tim
On 2020-09-03 09:27, Tim Chase wrote:
> On 2020-09-03 16:1
On 2020-09-03 16:10, Termoregolato wrote:
> -- original
> This is the %%text that i must modify%%, on a line, %%but also
> on the others%% that are following
>
> I need to change to
>
> -- desidered
> This is the text that i must modify, on a line, but
> also on the others that are following
Sho
On Fri, Sep 4, 2020 at 12:16 AM Termoregolato wrote:
>
> Hi. I've on file, containing multiple lines, and I need to change every
> occurrence of a sequence between two chars, in this case "%%".
>
> -- original
> This is the %%text that i must modify%%, on a line, %%but also
> on the others%% that
Hi. I've on file, containing multiple lines, and I need to change every
occurrence of a sequence between two chars, in this case "%%".
-- original
This is the %%text that i must modify%%, on a line, %%but also
on the others%% that are following
I need to change to
-- desidered
This is the text