docs: public String replaceLast(CharSequence text){
  		StringBuilder sb = new StringBuilder();
  		AutomatonMatcher am = runAutomation.newMatcher(text);
  		int start = 0;
  		int end = 0;
  		while (am.find()){
  			start = am.start();
  			end = am.end();
  		}
  		if (start != 0 || end != 0){
  			sb.append(text, 0, start);
  			sb.append(replacement);
  			sb.append(text, end, text.length());
  		}else{
  			sb.append(text);
  		}
  		return sb.toString();
  	}