anchor.diff:  bind_method(Method, Method) ->
       true;
   bind_method(_, _) ->
  -    false. 
  +    false.
   
   
   %% @doc bind path. Using the rule from we try to bind variables given
  
positive.code:     bind_path(RestToken, RestMatch, Bindings);
  bind_path(_, _, _) ->
      fail.
      
  
  %% normalize path.
  normalize_path(Path)  ->
      "/" ++ string:join(normalize_path1(string:tokens(Path, 
                  "/"), []), [?SEPARATOR]).
      
      
  normalize_path1([], Acc) ->
      lists:reverse(Acc);
  normalize_path1([".."|Rest], Acc) ->
  
negative.code: %%  method: method to bind the request method to the rule. by default "*"
  %%  query: query args you want to define they can contain dynamic variable
  %% by binding the key to the bindings
  %%
  %%
  %% to and from are path with  patterns. pattern can be string starting with ":" or
  %% "*". ex:
  %% /somepath/:var/*
  %%
  %% This path is converted in erlang list by splitting "/". Each var are
  %% converted in atom. "*" is converted to '*' atom. The pattern matching is done
  %% by splitting "/" in request url in a list of token. A string pattern will
  %% match equal token. The star atom ('*' in single quotes) will match any number
  %% of tokens, but may only be present as the last pathtern in a pathspec. If all
  %% tokens are matched and all pathterms are used, then the pathspec matches. It works
  %% like webmachine. Each identified token will be reused in to rule and in query
  %%
  %% The pattern matching is done by first matching the request method to a rule. by
  %% default all methods match a rule. (method is equal to "*" by default). Then
  %% It will try to match the path to one rule. If no rule match, then a 404 error
  %% is displayed.
  %%
  %% Once a rule is found we rewrite the request url using the "to" and
  %% "query" members. The identified token are matched to the rule and
  %% will replace var. if '*' is found in the rule it will contain the remaining
  %% part if it exists.
  %%
  