url.py - remove_formatting() - Replace regular expressions with string manipulation functions.
Closed this issue · 0 comments
olagood commented
The function remove_formatting() contains two regular expressions. I suggest replacing them with python's string manipulation functions and removing the re module import completely.
The change should be done only if string manipulation is faster than using the regular expressions.