#----------------------------------------------------------------------------- # /etc/check.d/carddav2fb.exp - expressions for check table of configuration params # # Copyright (c) 2015-2020 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2015-04-11 jed # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #----------------------------------------------------------------------------- CARDDAV2FB_USER = '([-._[:lower:]0-9])+' : 'no valid user name, because only the following characters are allowed: a-z, 0-9, ., _ and -' CARDDAV2FB_ESTORE = '()|([-._[:alnum:]])+' : 'no valid storage name given. Should be empty or contain only the following characters: a-z, 0-9, ., _ and -' CARDDAV2FB_URL = 'http(s)?://[[:alnum:]/%~._-]+(:(RE:NUMERIC)(/[[:alnum:]/%~._-]*)?)?' : 'no valid URL' CARDDAV2FB_EURL = '()|(RE:CARDDAV2FB_URL)' : 'nor empty or a valid URL' CARDDAV2FB_GROUP = '([-._[:alnum:]])+' : 'no valid address book group name given, only the following characters are allowed: a-z, 0-9, ., _ and -' CARDDAV2FB_EGROUP = '()|([-._[:alnum:]])+' : 'no valid address book group name given. Should be empty or contain only the following characters: a-z, 0-9, ., _ and -' CARDDAV2FB_GROUPS = '(RE:CARDDAV2FB_GROUP)(:(RE:CARDDAV2FB_GROUP))*' : 'no valid address book group names given. Should be one or more group names, separated by collons.' CARDDAV2FB_EGROUPS = '()|(RE:CARDDAV2FB_GROUP)(:(RE:CARDDAV2FB_GROUP))*' : 'no valid address book group names given. Should be empty or contain one or more group names, separated by collons.'