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

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

Posix char classes and skip-chars-(forward|backward)


From: Martin Stjernholm
Subject: Posix char classes and skip-chars-(forward|backward)
Date: Mon, 24 May 2004 01:12:08 +0200
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux)

Emacs 21 introduced posix char classes in regexps with a syntax like
"[[:upper:][:digit:]_]". Given that skip-chars-(forward|backward)
should take a char class like the inside of a "[...]", I expect that
one can do e.g.

    (skip-chars-forward "[:upper:][:digit:]_")

Unfortunately that doesn't work. This is a problem in CC Mode which
uses the same building blocks for both regexps and these "bare" char
classes.




reply via email to

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