public GlobMatcher(final String globPattern){
  this.globPattern=globPattern;
  regex=createRegex(globPattern);
  pattern=Pattern.compile(regex,Pattern.CASE_INSENSITIVE);
}

public GlobMatcher ( final String globPattern ) { this . globPattern = globPattern ; regex = createRegex ( globPattern ) ; pattern = Pattern . compile ( regex , Pattern . CASE_INSENSITIVE ) ; }
creates a new globmatcher using the given glob pattern .
