public static String find(CharSequence self,CharSequence regex,@ClosureParams(value=SimpleType.class,options="java.lang.String[]") Closure closure){
  return find(self,Pattern.compile(regex.toString()),closure);
}

public static String find ( CharSequence self , CharSequence regex , @ ClosureParams ( value = SimpleType . class , options = "java.lang.String[]" ) Closure closure ) { return find ( self , Pattern . compile ( regex . toString ( ) ) , closure ) ; }
returns the result of calling a closure with the first occurrence of a regular expression found within a charsequence . if the regex doesn ' t match , the closure will not be called and find will return null .
