match() method