: > > isDigit c = c >= '0' && c <= '9'
: >
: > I'd prefer: category is Nd
:
: OK, I was convinced on the Unicode list. But since many formats require
: only ASCII digits, I think I will add isAsciiDigit too. Category Nd
: does not fit into isOctDigit and isHexDigit which stay as before;
: it would be strange to have ASCII hex but not ASCII decimal predicate.
As a logical supplement to isOctDigt and isHexDigit, I would call it
isDecDigit rather than isAsciiDigit.
Regards,
Thomas Wolff
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/