def run(self, edit):
		# You can change PLUGIN_VERSION according to your needs.
		region = self.view.find("^#define\s+(?:PLUGIN_)?VERSION\s+\"\d{1,2}\.\d{1,2}\.\d{1,3}\"", 0)
		if region != None:
			strLine = self.view.substr(region)
			rIndex1 = strLine.rfind(".")
			rIndex2 = strLine.rfind("\"")
			sBuild = strLine[rIndex1+1:rIndex2]
			try:
				iBuild = int(sBuild)
				iBuild += 1
				self.view.replace(edit, region, strLine[:rIndex1+1] + str(iBuild) + "\"")
			except __HOLE__:
				pass
dataset/ETHPy150Open austinwagner/sublime-sourcepawn/sm_version_auto_increment.py/VerIncCommand.run