title: Spring URI Template Patterns with Regular Expressions
body: <p>Hey someone know how can match this URI "<a href="http://localhost:8080/test/user/127.0.0.1:8002:8" rel="nofollow noreferrer">http://localhost:8080/test/user/127.0.0.1:8002:8</a>" with @RequestMapping.</p>
  
  <p>I try to write this code:</p>
  
  <pre><code>@RequestMapping(value = "/user/{id}", method = RequestMethod.GET, 
          headers = "Accept=application/xml")
  public void test(@PathVariable("id") String id) {
      System.out.println(id);
      return null;
  }
  </code></pre>
  
  <p>but the problem is when i print the id the value is: <code>127.0.0</code>.
  Maybe something is wrong?</p>