1

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?

Chimitsu Nagase
  • 167
  • 1
  • 9

1 Answers1

1

It stands for: one or more characters.

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

crizzis
  • 9,978
  • 2
  • 28
  • 47