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 9b02cab97d..de6f0f77e0 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 @@ -62,7 +62,7 @@ import org.springframework.util.StringUtils; * "path" → "/image.png", and {@code /resources/css/spring.css} will match * with "path" → "/css/spring.css" *
  • /resources/{filename:\\w+}.dat will match {@code /resources/spring.dat} - * and assign the value {@code "filename"} to the {@code filename} variable
  • + * and assign the value {@code "spring"} to the {@code filename} variable * * * @author Andy Clement