00001 ['init sqs_range="" ',
00002 'sqs ::= SELECT "*" FROM fileid WHERE range operator value ',
00003 ' @sqs_fileid="$fileid"',
00004 ' @sqs_ope="$operator" ',
00005
00006 'range::= n "-" "*" @sqs_range=[$n-1,999] ',
00007 ' | n "-" m @sqs_range=[$n-1,$m] ',
00008 ' | n "." m @sqs_range=[$n-1,($m+$n-1)] ',
00009 ' | n "-" @sqs_range=[$n-1,999] ',
00010 'n ::= r"[0-9]"* ',
00011 'm ::= r"[0-9]"* ',
00012 'value::= "\'" car* "\'" @sqs_valtype=1 @sqs_value="$car" ',
00013 ' | numeric @sqs_valtype=2 @sqs_value=numeric ',
00014 'operator::= LIKE ',
00015 ' | "=" ',
00016 ' | ">" ',
00017 ' | "<" ',
00018 'car ::= r"[^\']" ',
00019 'numeric::= r"[0-9]"* ',
00020 'fileid::= r"\S"* ']