regexForPerEnrollmentNamespaces constant

String const regexForPerEnrollmentNamespaces

Matches a key in an enrollment's reserved namespace, capturing the id as EnId.

The id is anchored at a dot, a colon or the start of the key, and the atServer refuses foreign writes on this match.

Implementation

static const String regexForPerEnrollmentNamespaces =
    '(?:^|[.:])(?<EnId>[^.:]+)\\.[ard]\\.__e@';