Corrected pidfilepath regex