code: public void compile(String pattern) {
  		this.expandedPattern = expand(pattern);
  		
  		// Compile the regex
  		if (!expandedPattern.isEmpty()) {
  			regexp = Pattern.compile(expandedPattern);
  		} else {
  			throw new IllegalArgumentException("Pattern is not found '"
  					+ pattern + "'");
  		}
  	}
docs: Transform Jorka regex into a compiled regex