emacs-devel
[Top][All Lists]
Advanced

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

Re: Regexp for c-or-c++-mode


From: Robert Pluim
Subject: Re: Regexp for c-or-c++-mode
Date: Wed, 10 Jun 2020 16:15:21 +0200

>>>>> On Wed, 10 Jun 2020 14:58:18 +0100, Michał Nazarewicz <mina86@mina86.com> 
>>>>> said:

    Michał> On Wed, 10 Jun 2020 at 12:40, Robert Pluim <rpluim@gmail.com> wrote:
    Michał> I suppose you’re right. It should be [ \t\v\f] instead to catch
    Michał> all non-new-line white-space characters. Or [ \t\v\f\r\n] to catch
    Michał> all white-space characters.
    >> 
    >> [[:blank:]] ?

    Michał> [[:blank:]] is defined in terms of Unicode properties so that would
    Michał> catch things which C does not consider white-space.

[[:space:]] then, which uses the buffer's syntax table.

Robert



reply via email to

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