Re: Special Characters

New Message Reply About this list Date view Thread view Subject view Author view

From: Clive D.W. Feather (clive@demon.net)
Date: Wed Apr 12 2000 - 02:04:38 CDT


Henry Spencer said:
>>>> number : non-zero *digit | ( "0x" | "0X" ) 1*hex | "0" *octal
>>> Is this drawn from an existing spec, or invented?
>> I don't know a formal spec, but it's what works here...
> It probably works in a lot of places, because people are using the same
> utility functions, but that doesn't mean it's desirable.
[...]
> For news, I would strongly recommend being as strict and narrow as
> possible. We're not even talking about user interfaces here. Allow only
> dotted decimal with exactly four components, no leading zeros, no hex.

I don't have a big problem with this (though I would allow hex in each
component). The question is whether we're being descriptive or
prescriptive; if we choose the former, you need my syntax, if the latter,
then something much simpler.

-- 
Clive D.W. Feather  | Work:  <clive@demon.net>   | Tel:  +44 20 8371 1138
Internet Expert     | Home:  <clive@davros.org>  | Fax:  +44 20 8371 1037
Demon Internet      | WWW: http://www.davros.org | DFax: +44 20 8371 4037
Thus plc            |                            | Mobile: +44 7973 377646 


New Message Reply About this list Date view Thread view Subject view Author view


This archive was generated by hypermail 2b29.