From 9320bf131622c66edeb2adb0f3d9f9caad5bae57 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 11 Feb 2013 20:56:59 -0800 Subject: [PATCH] Fix @RequestMapping regex reference doc example Issue: SPR-10244 --- src/reference/docbook/mvc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reference/docbook/mvc.xml b/src/reference/docbook/mvc.xml index c8aebb4f8a..021249cf57 100644 --- a/src/reference/docbook/mvc.xml +++ b/src/reference/docbook/mvc.xml @@ -1062,7 +1062,7 @@ public class RelativePathUriTemplateController { example: -@RequestMapping("/spring-web/{symbolicName:[a-z-]+}-{version:\d\.\d\.\d}.{extension:\.[a-z]}") +@RequestMapping("/spring-web/{symbolicName:[a-z-]+}-{version:\\d\\.\\d\\.\\d}.{extension:\\.[a-z]}") public void handle(@PathVariable String version, @PathVariable String extension) { // ... }