code: private static String convertSub(String path) {
  
  		if (isRestEasyPath(path)) {
  
  			// remove {}
  			path = path.substring(1, path.length() - 1);
  			int index = path.lastIndexOf(":");  // check for regular expression
  			if (index > 0 && index + 1 < path.length()) {
  				return path.substring(index + 1); // make regular expression the path part
  			}
  
  			return ":" + path; // put : in front of param name
  		}
  
  		if (isVertxRegExPath(path)) {
  			// remove parameter name - :parameter:<regularExpression>
  			int idx = path.indexOf(":", 1);
  			return path.substring(idx + 1);
  		}
  
  		return path;
  	}
docs: Converts from RestEasy to Vert.X format if necessary
  
  @param path to be converted
  @return vert.x path format