From: Henry Spencer (henry@spsystems.net)
Date: Tue Apr 11 2000 - 12:50:22 CDT
On Tue, 11 Apr 2000, Clive D.W. Feather wrote:
> Except that that's not the correct rule. The correct syntax is ...
> number : non-zero *digit | ( "0x" | "0X" ) 1*hex | "0" *octal
Is this drawn from an existing spec, or invented? If the latter, I
suggest omitting both octal and hex. Decimal numbers are universal in
this syntax -- indeed, it's often referred to as "dotted decimal" -- and
octal in particular will only lead to confusion. (There are existing
RFCs, e.g. 1166, which clearly indicate that leading zeros have no special
significance.)
Henry Spencer
henry@spsystems.net