lua-users home
lua-l archive

Re: isprint, isgraph &c.

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Q
> 
> On 23 May 2010 08:50, "Stuart P. Bentley" <stuart@testtrack4.com> wrote:
> 
> On 2010年5月19日 05:31:49 -0700, Roberto Ierusalimschy <
> roberto@inf.puc-rio.br> wrote:
> 
> >> I see ...
> Isn't isgraph just %C?
No. ' ' is neither graph nor control. It may be argued that %C is equal
to printable, but that is not required by the standard. (Plauger [1]
argues that no character can be both control and printable, but he says
that a character may be in no group.)
[1] The Standard C Library. P.J.Plauger.
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /