fix invdata regex for items with no flags