protected RegexPrompt(String pattern){
  this(Pattern.compile(pattern));
}

protected RegexPrompt ( String pattern ) { this ( Pattern . compile ( pattern ) ) ; }
creates a new prompt with pattern , calls pattern . compile
