Better @Path annotation regex handling

Fixed hadling {} regex quantifiers

Signed-off-by: Alexander Prokopyev <xana4ok@gmail.com>