Managed to fix the regex from rpm