
Oct. 2, 2015
4:52 p.m.
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.