Home > Enterprise >  What does . mean in Path Variable?
What does . mean in Path Variable?

Time:07-28

in a Spring Boot REST API Project I came across a Route which was somewhat like this:

@DeleteMapping("api/{variable:. }")

What does the . stand for?

CodePudding user response:

It stands for: one or more characters.

See https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html for reference.

  • Related