title: Resteasy @path with zero or more path parameters
body: <p>I am using RESTEasy in my API development. My url is <code>http://localhost:8080/project/player/M</code> or <code>http://localhost:8080/project/player</code></p>
  
  <p>it means am pasing {gender} as path param.</p>
  
  <p>my problem is how to mapp this url to REST method, i use below mapping</p>
  
  <pre><code>@GET
  @Path("player/{gender}")
  @Produces("application/json")
  </code></pre>
  
  <p>but if use it, it maps for <code>http://localhost:8080/project/player/M</code> but not for <code>http://localhost:8080/project/player</code>. 
  i need a regular expression to map zero or more path parameters</p>
  
  <p>Thanks.</p>