enroll constant

String const enroll

Implementation

static const enroll =
    // The non-capturing group (?::)? matches ":" if the operation is request|approve|deny|revoke
    r'^enroll:(?<operation>(?:(request|approve|deny|revoke|listns|infons|list|fetch|unrevoke|delete|update|link)))(:(?<force>force))?(:(?<listNamespace>[^:{\n]+))?(?::)?((?<enrollParams>.+)|(<=list:)<enrollParams>.?)?$';