Try to fix messy regex that also doesn't happen to work