notify constant

String const notify

Implementation

static const notify = r'^notify'
    r'(:id:(?<id>[\w\d\-\_]+))?'
    r'(:(?<operation>update|delete))?'
    r'(:messageType:(?<messageType>key|text))?'
    r'(:priority:(?<priority>low|medium|high))?'
    r'(:strategy:(?<strategy>all|latest))?'
    r'(:latestN:(?<latestN>\d+))?'
    r'(:notifier:(?<notifier>[^\s:]+))?'
    r'(:ttln:(?<ttln>\d+))?'
    '$metadataFragment'
    r':((?<publicScope>public)|(@(?<forAtSign>[^:@\s]+)))'
    r':(?<atKey>[^:@]((?!:{2})[^@])+)'
    r'(@(?<atSign>[^:@\s]+))?'
    r'(:(?<value>.+))?'
    r'$';