0
Using r for strings and re library
I was just wondering if it’s worth using r on all strings so they all become raw and therefore if you need to use the re library the r is already. Is this good practice?
1 ответ
0
Because strings in regular expression sometimes uses \, there is a small risk that they would escape a newline or similar. With raw strings that would not happen.