Yes, it works on python 2.7. 

This is general usage to replace the filter, ```None``` happens when there are two separators at the same time.