[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Interpret #r"..." as a raw string
From: |
Richard Stallman |
Subject: |
Re: [PATCH] Interpret #r"..." as a raw string |
Date: |
Mon, 01 Mar 2021 00:26:14 -0500 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> Is #r"..." convenient enough?
> If I have a string with lots of double quotes, I still have to escape
> every duoble quote.
> Maybe better to change to #r"..."r#, or even #r<<<<"...">>>>r# (user can
> insert any number of < and > but they must be paired to avoid the
> escape.)
I suggest writing the code to move backwards over various possible syntaxes
to determine which ones work well for backward parsing.
Then choose the syntax based on that.
I've done that in the past.
--
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
- Re: [PATCH] Interpret #r"..." as a raw string, (continued)
- Re: [PATCH] Interpret #r"..." as a raw string, Richard Stallman, 2021/03/05
- Re: [PATCH] Interpret #r"..." as a raw string, Eli Zaretskii, 2021/03/05
- Re: [PATCH] Interpret #r"..." as a raw string, Richard Stallman, 2021/03/06
- Re: [PATCH] Interpret #r"..." as a raw string, Matt Armstrong, 2021/03/06
- Re: [PATCH] Interpret #r"..." as a raw string, Richard Stallman, 2021/03/07
- RE: [External] : Re: [PATCH] Interpret #r"..." as a raw string, Drew Adams, 2021/03/07
- Re: [PATCH] Interpret #r"..." as a raw string, Eli Zaretskii, 2021/03/06
- Re: [PATCH] Interpret #r"..." as a raw string, Daniel Brooks, 2021/03/06
- Re: [PATCH] Interpret #r"..." as a raw string, Eli Zaretskii, 2021/03/06
- Re: [PATCH] Interpret #r"..." as a raw string, Richard Stallman, 2021/03/07
Re: [PATCH] Interpret #r"..." as a raw string,
Richard Stallman <=
Re: [PATCH] Interpret #r"..." as a raw string, Alan Mackenzie, 2021/03/01
- Re: [PATCH] Interpret #r"..." as a raw string, Andreas Schwab, 2021/03/01
- Re: [PATCH] Interpret #r"..." as a raw string, Matt Armstrong, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Daniel Brooks, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Andreas Schwab, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Daniel Brooks, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Andreas Schwab, 2021/03/02
- Re: [PATCH] Interpret #r"..." as a raw string, Daniel Brooks, 2021/03/02
Re: [PATCH] Interpret #r"..." as a raw string, Alan Mackenzie, 2021/03/02
Re: [PATCH] Interpret #r"..." as a raw string, Daniel Brooks, 2021/03/02