diff --git a/spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java b/spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java index 81fd6676389..9b02cab97d0 100644 --- a/spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java +++ b/spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java @@ -59,10 +59,10 @@ import org.springframework.util.StringUtils; *
/resources/{*path} — matches all files
* underneath the {@code /resources/} path and captures their relative path in
* a variable named "path"; {@code /resources/image.png} will match with
- * "spring" → "/image.png", and {@code /resources/css/spring.css} will match
- * with "spring" → "/css/spring.css"/resources/{filename:\\w+}.dat will match {@code /resources/spring.dat}
- * and assign the value {@code "spring"} to the {@code filename} variable