fix gmatch bug when patten is [^a]，add string.gsub implements