headerphoto

APG Version 5.0 - Tables

Table 1. SABNF operators. E = any SABNF expression, R = named expression.

Operation Name Type Precedence Description
%dn TRG primary 5 single character(%dn = %dn-n)
%dn-m TRG primary 5 range of characters (n <= m)
%dx.y… TBS primary 5 string of two or more characters
"abc" TLS primary 5 case-insensitive string of zero or more ASCII characters
R RNM primary 5 named group of operators
(E) none primary 4 unnamed group of operators
[E] none primary 4 optional group of operators
!E PRD unary 3 not, syntactic predicate
&E PRD unary 3 and, syntactic predicate
n*mE REP unary 3 repetition (0 <= n <= m < ∞)
E1 CAT binary 2 concatenation
E1 / E2 ALT binary 1 prioritized-choice alternation