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

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

bug#50718: 28.0.50; `split-string` fails on certain unicode strings


From: Andreas Schwab
Subject: bug#50718: 28.0.50; `split-string` fails on certain unicode strings
Date: Tue, 21 Sep 2021 11:51:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

On Sep 21 2021, dalanicolai wrote:

> Evaluate: (split-string "१०.३" ".")
> It wrongly returns a list with only empty string.

You have specified all characters as separators, since "." matches any
character.  If you want to match only the period you need to use "\\."
has the regexp.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





reply via email to

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