TwoClocks
03/08/2021, 10:26 PMval one = """text \$text"""
it won't escape the $. Works fine in a normal string. how do I turn of templating in raw strings?Zach Klippenstein (he/him) [MOD]
03/08/2021, 10:29 PM“””${‘$’}”””
TwoClocks
03/08/2021, 10:29 PMRuckus
03/08/2021, 10:30 PMA raw string is delimited by a triple quote (), contains no escaping and can contain newlines and any other characters"""
TwoClocks
03/08/2021, 10:31 PMRuckus
03/08/2021, 10:33 PMRuckus
03/08/2021, 10:36 PMTwoClocks
03/08/2021, 10:37 PMTwoClocks
03/08/2021, 10:38 PMTwoClocks
03/08/2021, 10:38 PMephemient
03/08/2021, 10:39 PMTwoClocks
03/08/2021, 10:41 PMRuckus
03/08/2021, 10:41 PMRuckus
03/08/2021, 10:42 PM$
in regex, I definitely don't use it anywhere near as much as \
.TwoClocks
03/08/2021, 10:43 PMTwoClocks
03/08/2021, 10:44 PMRuckus
03/08/2021, 10:46 PMephemient
03/08/2021, 10:46 PMephemient
03/08/2021, 10:48 PMTwoClocks
03/08/2021, 10:56 PMYoussef Shoaib [MOD]
03/08/2021, 11:27 PM${"$"}
in this case because it looks neat enoughPaul Griffith
03/09/2021, 1:15 AM