Feb-16-2023, 04:48 AM
Where can I find documentation so that I can learn how to use escape characters in re.sub and with find method correctly?
I tend to find that I always do this by trial and error. I am never sure when to just use "\\" and when to use "\\\\" and how to properly apply the r in front of a pattern.
I tend to find that I always do this by trial and error. I am never sure when to just use "\\" and when to use "\\\\" and how to properly apply the r in front of a pattern.