* @return true if the target is matched to this regular expression.
*/
public boolean matches(char[] target) {
- return this.matches(target, 0, target .length , (Match)null);
+ return this.matches(target, 0, target .length , null);
}
/**
* @return true if the target is matched to this regular expression.
*/
public boolean matches(char[] target, int start, int end) {
- return this.matches(target, start, end, (Match)null);
+ return this.matches(target, start, end, null);
}
/**
* @return true if the target is matched to this regular expression.
*/
public boolean matches(String target) {
- return this.matches(target, 0, target .length() , (Match)null);
+ return this.matches(target, 0, target .length() , null);
}
/**
* @return true if the target is matched to this regular expression.
*/
public boolean matches(String target, int start, int end) {
- return this.matches(target, start, end, (Match)null);
+ return this.matches(target, start, end, null);
}
/**
* @return true if the target is matched to this regular expression.
*/
public boolean matches(CharacterIterator target) {
- return this.matches(target, (Match)null);
+ return this.matches(target, null);
}