Stop using re module for everything in assets