Skip to main content

Timeline for Remove all slashes and backsleshes

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
Feb 16, 2018 at 7:31 vote accept Mikhail_Sam
Feb 16, 2018 at 7:31 vote accept Mikhail_Sam
Feb 16, 2018 at 7:31
Feb 15, 2018 at 12:30 comment added anubhava @Mikhail_Sam: Previous answer also worked because it had separate \\ but I had wrong explanation. This one will also work because re.escape(symbolsToRemove) will escape each and every special character in symbolsToRemove string where \ is already present.
Feb 15, 2018 at 12:28 comment added Mikhail_Sam I didn't get it - you previous answer did it well :) What's the matter to change it?
Feb 15, 2018 at 12:27 history edited anubhava CC BY-SA 3.0
deleted 89 characters in body
Feb 15, 2018 at 12:26 comment added anubhava Sorry for the goof up. Yes OP just needs to do re.esacpe
Feb 15, 2018 at 12:22 comment added Thierry Lathuille Yes, it does: >>> string.punctuation '!"#$%&\'()*+,-./:;<=>?@[\\]^_{|}~'`
Feb 15, 2018 at 12:17 history answered anubhava CC BY-SA 3.0