public CharSequenceFilter addMatchesPattern(String regularExpression,int flags){
  mCachedToString=null;
  mMatchesPattern.add(Pattern.compile(regularExpression,flags));
  return this;
}

public CharSequenceFilter addMatchesPattern ( String regularExpression , int flags ) { mCachedToString = null ; mMatchesPattern . add ( Pattern . compile ( regularExpression , flags ) ) ; return this ; }
adds a regular expression matching rule to the filter .
