diff --git a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java index 97e7a27..f654199 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -162,7 +162,7 @@ public class PropertyChecker this.serviceRules.add("service.enddate", DATE, PropertyMode.OPTIONAL); this.serviceRules.add("service.status.level", "^(OK|WARNING|ALERT|ERROR|OVER|VOID)$", PropertyMode.MANDATORY); this.serviceRules.add("service.status.description", STRING, PropertyMode.OPTIONAL); - this.serviceRules.add("service.registration", "^(None|Free|Member|Client)([,;+](None|Free|Member|Client))?$", PropertyMode.MANDATORY); + this.serviceRules.add("service.registration", "^(None|Free|Member|Client)\\s*([,;+]\\s*(None|Free|Member|Client))?$", PropertyMode.MANDATORY); this.serviceRules.add("service.install.type", "^(DISTRIBUTION|PROVIDER|PACKAGE|TOOLING|CLONEREPO|ARCHIVE|SOURCES|CONTAINER)$", PropertyMode.MANDATORY); this.serviceRules.add("software.name", STRING, PropertyMode.MANDATORY);