the regex the decompose supannResourcerEtatDate in plugins/tasks/Lifecycle.php don't accept “:” (colon), “-” (hyphen), “_” (underscore) and “.” (full stop).
Hello,
the regex used in plugins/tasks/Lifecycle.php doesnt match all the case accepted by supann
./plugins/tasks/LifeCycle.php: $pattern = '/\{(\w+)\}(\w):([^:]*)(?::([^:]*))?(?::([^:]*))?(?::([^:]*))?/';
./plugins/tasks/LifeCycle.php: $pattern = '/\{(\w+)\}(\w):([^:]*)(?::([^:]*))?(?::([^:]*))?(?::([^:]*))?/';
./plugins/tasks/LifeCycle.php: $pattern = '/\{(\w+)\}(\w):([^:]*)(?::([^:]*))?(?::([^:]*))?(?::([^:]*))?/';
``
the documentation tell us https://services.renater.fr/documentation/supann/supann2020/recommandations2020/modele/etiquetes#syntaxe
for exemple :
* {WIFI} works
* {WIFI-INVITE} doesn't work but it should
Cheers