[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: |
Eli Zaretskii |
Subject: |
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@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.