[Python-ideas] Binary f-strings
Eric V. Smith
eric at trueblade.com
Fri Oct 2 16:52:14 CEST 2015
On 10/02/2015 10:48 AM, João Bernardo wrote:
>
> But some of the other arguments are making me think bf'' is a bad idea,
> so now I'm leaning towards not implementing it.
>
>
> What about rf''? (sorry for being off topic here)
>
> Regex could benefit from it:
>
> my_regex = rf"ˆ\w+\s*({'|'.join(expected_words)})$"
>
That's already implemented. Its use in regular expressions is mentioned
in the PEP.
More information about the Python-ideas
mailing list