Fix inventory regex