Code example for Pattern

Methods: matcher

0
		if (_pattern == null) throw new IllegalArgumentException("_pattern must not be null");
		pattern = _pattern;
	} 
 
	public boolean isValid(EditText et) {
		return pattern.matcher(et.getText()).matches();
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE