0

I have this Jax-rs path:

@GET
@Path("{id: \\b(?!_ah)\\w+\b}") 
public Response get(...){...}

My goal is that this get method match all character sequence except those that starts with _ah like:

_ah\foo
_ah\foo\bar

However there is something wrong with the regex.

quarks
  • 33,478
  • 73
  • 290
  • 513

0 Answers0