From 2149ba4051f2c2aebce65d6ce4d365de74f2c813 Mon Sep 17 00:00:00 2001 From: Phillip Verheyden Date: Wed, 22 May 2019 11:29:58 -0500 Subject: [PATCH] Use a regex that captures numbers and qualifiers Fix the regular expression used in the devtools documentation to include a version number pattern. Closes gh-16946 --- .../spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc index aff1a00975..090098d0c2 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -974,8 +974,8 @@ pattern that is applied to the classpath, as shown in the following example: [source,properties,indent=0] ---- - restart.exclude.companycommonlibs=/mycorp-common-[\\w-]+\.jar - restart.include.projectcommon=/mycorp-myproj-[\\w-]+\.jar + restart.exclude.companycommonlibs=/mycorp-common-[\\w\\d-\.]+\.jar + restart.include.projectcommon=/mycorp-myproj-[\\w\\d-\.]+\.jar ---- NOTE: All property keys must be unique. As long as a property starts with