From 320f5836b4ea4f8aaaef8577a3b0d35f0fba4887 Mon Sep 17 00:00:00 2001 From: Sviatoslav Hryb Date: Fri, 16 Apr 2021 12:39:45 +0300 Subject: [PATCH] Fix LocaleEditor description & formatting in reference manual Closes gh-26816 --- src/docs/asciidoc/core/core-validation.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/docs/asciidoc/core/core-validation.adoc b/src/docs/asciidoc/core/core-validation.adoc index 5f4d0d4ba8..c21f142877 100644 --- a/src/docs/asciidoc/core/core-validation.adoc +++ b/src/docs/asciidoc/core/core-validation.adoc @@ -500,8 +500,9 @@ the various `PropertyEditor` implementations that Spring provides: | `LocaleEditor` | Can resolve strings to `Locale` objects and vice-versa (the string format is - `[language]_[country]_[variant]`, same as the `toString()` method of - `Locale`). By default, registered by `BeanWrapperImpl`. + `[language]\_[country]_[variant]`, same as the `toString()` method of + `Locale`). Also accepts spaces as separators, as alternative to underscores. + By default, registered by `BeanWrapperImpl`. | `PatternEditor` | Can resolve strings to `java.util.regex.Pattern` objects and vice-versa.