unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Posix char classes and skip-chars-(forward|backward)
@ 2004-05-23 23:12 Martin Stjernholm
  0 siblings, 0 replies; only message in thread
From: Martin Stjernholm @ 2004-05-23 23:12 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-23 23:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-23 23:12 Posix char classes and skip-chars-(forward|backward) Martin Stjernholm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).