H. pylori-infected gastric ulcers express higher MMP-7, MMP-9, and TIMP-1 than NSAID-related ulcers. Here, MMP9 is linked to gastric ulcer.