915bf45ee3
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9065)
18 lines
602 B
EBNF
18 lines
602 B
EBNF
(* https://bottlecaps.de/rr/ui *)
|
|
|
|
Definition
|
|
::= PropertyName ( '=' Value )? ( ',' PropertyName ( '=' Value )? )*
|
|
Query ::= PropertyQuery ( ',' PropertyQuery )*
|
|
PropertyQuery ::= '-' PropertyName
|
|
| '?'? ( PropertyName (( '=' | '!=' ) Value)?)
|
|
Value ::= NumberLiteral
|
|
| StringLiteral
|
|
StringLiteral ::= QuotedString | UnquotedString
|
|
QuotedString ::= '"' [^"]* '"'
|
|
| "'" [^']* "'"
|
|
UnquotedString ::= [^{space},]+
|
|
NumberLiteral
|
|
::= '0' ( [0-7]* | 'x' [0-9A-Fa-f]+ )
|
|
| '-'? [1-9] [0-9]+
|
|
PropertyName
|
|
::= [A-Z] [A-Z0-9_]* ( '.' [A-Z] [A-Z0-9_]* )*
|