unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: dalanicolai <dalanicolai@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 50718@debbugs.gnu.org
Subject: bug#50718: 28.0.50; `split-string` fails on certain unicode strings
Date: Wed, 22 Sep 2021 09:59:22 +0200	[thread overview]
Message-ID: <CACJP=3nvp6ZkkA1wosTfkLko9YVrYpTmXgWh3xdkE_+bnr1=6g@mail.gmail.com> (raw)
In-Reply-To: <87o88mfe8f.fsf@igel.home>

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

Haha, okay that is a some unexperienced (or not fully awake) mistake.
Anyway, will not forget about that again, I guess. Thanks for the reply!

On Tue, 21 Sept 2021 at 11:51, Andreas Schwab <schwab@linux-m68k.org> wrote:

> 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."
>

[-- Attachment #2: Type: text/html, Size: 1162 bytes --]

      reply	other threads:[~2021-09-22  7:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-21  9:27 bug#50718: 28.0.50; `split-string` fails on certain unicode strings dalanicolai
2021-09-21  9:44 ` Eli Zaretskii
2021-09-21 15:29   ` Stefan Kangas
2021-09-21  9:51 ` Andreas Schwab
2021-09-22  7:59   ` dalanicolai [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACJP=3nvp6ZkkA1wosTfkLko9YVrYpTmXgWh3xdkE_+bnr1=6g@mail.gmail.com' \
    --to=dalanicolai@gmail.com \
    --cc=50718@debbugs.gnu.org \
    --cc=schwab@linux-m68k.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).