bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#15874: 24.3.50; exit! not properly font-locked in ruby-mode


From: Kevin Rodgers
Subject: bug#15874: 24.3.50; exit! not properly font-locked in ruby-mode
Date: Thu, 05 Dec 2013 07:50:49 -0700
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20

On 12/5/13 3:58 AM, Dmitry Gutov wrote:
Kevin Rodgers<kevin.d.rodgers@gmail.com>  writes:

Any ideas for a regexp that matches (any) non-symbol character?

`\sCODE'
`\SCODE'

That doesn't really help, unless we want to enumerate all syntax classes
that we can accept.

Non-symbol character is a character that's not of class "symbol", nor of
class "word". "\\S_" matches words.

[^[:symbol:][:word:]]

if the [:symbol:] character class actually existed :-)

--
Kevin Rodgers
Denver, Colorado, USA






reply via email to

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