public Wildcard(String pattern,int regexpOptions){
  this.regexpOptions=regexpOptions;
  regexp=Pattern.compile(wildcardToRegex(pattern),regexpOptions);
  shortcut=extractShortcut(pattern);
}

public Wildcard ( String pattern , int regexpOptions ) { this . regexpOptions = regexpOptions ; regexp = Pattern . compile ( wildcardToRegex ( pattern ) , regexpOptions ) ; shortcut = extractShortcut ( pattern ) ; }
initializes a wildcard with the given search pattern and options .
