From: Ivan Shmakov <ivan@siamics.net>
To: 19878@debbugs.gnu.org
Subject: bug#19878: 24.4; Syntax class [:alpha:] wrongly matches the Indian digits ۱۲۳۴۵۶۷۸۹۰ as letter
Date: Tue, 17 Feb 2015 18:15:09 +0000 [thread overview]
Message-ID: <87k2zg8kwi.fsf_-_@violet.siamics.net> (raw)
In-Reply-To: <838ufw7bzi.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 17 Feb 2015 18:13:05 +0200")
>>>>> Eli Zaretskii <eliz@gnu.org> writes:
[…]
> Also, does someone see any potential problem to make [:digit:] be a
> superset of the current ASCII-only set, to match UTS #18 as well?
> The comment in regex.c says it is "only used for single-byte
> characters", but it isn't clear to me whether this is a requirement,
> i. e. there's some code in Emacs that relies on that, or just a
> statement of facts.
Just for a random data point, my own preference was to always
use [0-9] when the intent is to discern a number for a later use
of number-to-string, etc. Frankly, I can’t even readily suggest
any reasonable examples where one’d want to use [:digit:] in the
first place.
[…]
--
FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A
next prev parent reply other threads:[~2015-02-17 18:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-15 15:44 bug#19878: 24.4; Syntax class [:alpha:] wrongly matches the Indian digits ۱۲۳۴۵۶۷۸۹۰ as letter mohammad.mahmoudi
2015-02-15 20:16 ` Andreas Politz
2015-02-17 16:13 ` Eli Zaretskii
2015-02-17 18:15 ` Ivan Shmakov [this message]
2015-02-17 18:45 ` Eli Zaretskii
2015-02-28 12:29 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k2zg8kwi.fsf_-_@violet.siamics.net \
--to=ivan@siamics.net \
--cc=19878@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.