* Character classification functions
@ 2011-08-05 16:43 sdn.gnuem
2011-08-05 16:49 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: sdn.gnuem @ 2011-08-05 16:43 UTC (permalink / raw)
To: help-gnu-emacs
Does emacs-lisp have any character classification predicates? I'm thinking like maybe 'letterp' or 'digitp' or 'alphanump' (names I made up, of course).
I could do this with regexps ("[[:alpha:]]", etc), but that seems like kind of a big hammer to use for individual characters. I was thinking that maybe something could be done with the case-table, but I haven't figured that out yet.
Thanks in advance!
----------
This message was sent from a MailNull anti-spam account. You can get
your free account and take control over your email by visiting the
following URL.
http://mailnull.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Character classification functions
2011-08-05 16:43 Character classification functions sdn.gnuem
@ 2011-08-05 16:49 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2011-08-05 16:49 UTC (permalink / raw)
To: help-gnu-emacs
> From: sdn.gnuem@mailnull.com
> Date: Fri, 5 Aug 2011 12:43:03 -0400 (EDT)
>
> Does emacs-lisp have any character classification predicates? I'm thinking like maybe 'letterp' or 'digitp' or 'alphanump' (names I made up, of course).
Why do you need them? What problem are you trying to solve?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-05 16:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-05 16:43 Character classification functions sdn.gnuem
2011-08-05 16:49 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.