mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 13:21:53 +01:00
Fix color and icon rules (#4449)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
This commit is contained in:
parent
aededaecc2
commit
d7495d26fe
@ -102,7 +102,7 @@ public class UIComponentSitemapProvider implements SitemapProvider, RegistryChan
|
||||
private static final String SITEMAP_SUFFIX = ".sitemap";
|
||||
|
||||
private static final Pattern CONDITION_PATTERN = Pattern
|
||||
.compile("(?<item>[A-Za-z]\\w*)?\\s*(?<condition>==|!=|<=|>=|<|>)?\\s*(?<sign>\\+|-)?(?<state>.+)");
|
||||
.compile("((?<item>[A-Za-z]\\w*)?\\s*(?<condition>==|!=|<=|>=|<|>))?\\s*(?<sign>\\+|-)?(?<state>.+)");
|
||||
private static final Pattern COMMANDS_PATTERN = Pattern.compile("^(?<cmd1>\"[^\"]*\"|[^\": ]*):(?<cmd2>.*)$");
|
||||
|
||||
private Map<String, Sitemap> sitemaps = new HashMap<>();
|
||||
|
Loading…
Reference in New Issue
Block a user