You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
629 B
17 lines
629 B
range-set ::= range ( logical-or range ) *
|
|
logical-or ::= ( ' ' ) * '||' ( ' ' ) *
|
|
range ::= hyphen | simple ( ' ' simple ) * | ''
|
|
hyphen ::= partial ' - ' partial
|
|
simple ::= primitive | partial | tilde | caret
|
|
primitive ::= ( '<' | '>' | '>=' | '<=' | '=' | ) partial
|
|
partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )?
|
|
xr ::= 'x' | 'X' | '*' | nr
|
|
nr ::= '0' | ['1'-'9'] ( ['0'-'9'] ) *
|
|
tilde ::= '~' partial
|
|
caret ::= '^' partial
|
|
qualifier ::= ( '-' pre )? ( '+' build )?
|
|
pre ::= parts
|
|
build ::= parts
|
|
parts ::= part ( '.' part ) *
|
|
part ::= nr | [-0-9A-Za-z]+
|