fix trailing space in state string (#3812)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>pull/3809/head
parent
366bffa406
commit
3eef2872f5
|
@ -93,7 +93,7 @@ public class UIComponentSitemapProvider implements SitemapProvider, RegistryChan
|
|||
private static final Pattern VISIBILITY_PATTERN = Pattern
|
||||
.compile("(?<item>[A-Za-z]\\w*)\\s*(?<condition>==|!=|<=|>=|<|>)\\s*(?<sign>\\+|-)?(?<state>.+)");
|
||||
private static final Pattern COLOR_PATTERN = Pattern.compile(
|
||||
"((?<item>[A-Za-z]\\w*)?\\s*((?<condition>==|!=|<=|>=|<|>)\\s*(?<sign>\\+|-)?(?<state>[^=]+))?\\s*=)?\\s*(?<arg>\\S+)");
|
||||
"((?<item>[A-Za-z]\\w*)?\\s*((?<condition>==|!=|<=|>=|<|>)\\s*(?<sign>\\+|-)?(?<state>[^=]*[^= ]+))?\\s*=)?\\s*(?<arg>\\S+)");
|
||||
|
||||
private Map<String, Sitemap> sitemaps = new HashMap<>();
|
||||
private @Nullable UIComponentRegistryFactory componentRegistryFactory;
|
||||
|
|
Loading…
Reference in New Issue