Thanks for the change! Why not
re.sub(r'\W', '', string)
Instead of
filter((lambda x: re.search('[0-9a-z_]', x)), string)
?
« Back to merge proposal
Thanks for the change!
Why not
re.sub(r'\W', '', string)
Instead of
filter((lambda x: re.search( '[0-9a- z_]', x)), string)
?