String relativeRef = call.getContext().getRelativeRef().toString(); Matcher matcher = getPattern().matcher(relativeRef);
String remainingRef = getRemainingRef(call); Matcher matcher = getPattern().matcher(remainingRef);
	public float score(Call call)	{		float result = 0F;		String relativeRef = call.getContext().getRelativeRef().toString();		Matcher matcher = getPattern().matcher(relativeRef);      boolean matched = matcher.lookingAt();      if(matched)      {      	float totalLength = relativeRef.length();      	      	if(totalLength > 0.0F)      	{      		float matchedLength = matcher.end();      		result = getRouter().getRequiredScore() + (1.0F - getRouter().getRequiredScore()) * (matchedLength/totalLength);      	}      	else      	{      		result = 1.0F;      	}      }            if(logger.isLoggable(Level.FINER))      {      	logger.finer("Scoring this pattern: " + getPattern().toString() + " >> " + result);      }      return result;	}