GNU bug report logs - #50718
28.0.50; `split-string` fails on certain unicode strings

Previous Next

Package: emacs;

Reported by: dalanicolai <dalanicolai <at> gmail.com>

Date: Tue, 21 Sep 2021 09:29:02 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #10 received at control <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: dalanicolai <dalanicolai <at> gmail.com>
Cc: 50718 <at> debbugs.gnu.org
Subject: Re: bug#50718: 28.0.50;
 `split-string` fails on certain unicode strings
Date: Tue, 21 Sep 2021 12:44:22 +0300
tags 50718 notabug
thanks

> From: dalanicolai <dalanicolai <at> gmail.com>
> Date: Tue, 21 Sep 2021 11:27:48 +0200
> 
> Evaluate: (split-string "१०.३" ".")
> It wrongly returns a list with only empty string.
> Of course it should return alist with the individual devanagari numbers.

That's a cockpit error: the SEPARATORS argument should be a regular
expression, so you should use "\\." instead.




This bug report was last modified 3 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.