[Top][All Lists]

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

Re: [Nano-devel] treating underscore as alphanumeric

From: Benno Schulenberg
Subject: Re: [Nano-devel] treating underscore as alphanumeric
Date: Fri, 21 Mar 2014 21:56:10 +0100

On Fri, Mar 21, 2014, at 17:41, Eitan Adler wrote:
> On 21 March 2014 09:15, Benno Schulenberg <address@hidden> wrote:
> >     if (strncmp((const char*)c, "_", 1) == 0)
> >         return TRUE;
> I have no opinion on the feature.  It may be nicer to write this is
> if (*c == '_') return TRUE; instead of using strncmp.

Yes, that was my first try -- it doesn't work, though, probably
because c points to a string instead of a single character.


-- - A fast, anti-spam email service.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]