code: protected void initPathVariables(String routePath) {
  		pathVariables.clear();
  		
  		List<String> variables = getVariables(routePath);
  		String regexPath = routePath.replaceAll(Path.VAR_REGEXP, Path.VAR_REPLACE);
  
  		Matcher matcher = Pattern.compile("(?i)" + regexPath).matcher(getPath());
  		matcher.matches();
  
  		// start index at 1 as group(0) always stands for the entire expression
  		for (int i=1; i <= variables.size(); i++) {
  			String value = matcher.group(i);
  			pathVariables.put(variables.get(i-1), value);
  		}
  	}
docs: Helper method. Initializes the pathVariables property of this class.
  
  @param routePath the route path as defined in the routes.config file.