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

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

Re: Regexp capturing unicode characters


From: Eli Zaretskii
Subject: Re: Regexp capturing unicode characters
Date: Thu, 01 Aug 2024 20:46:26 +0300

> Date: Thu, 01 Aug 2024 17:06:26 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: help-gnu-emacs@gnu.org
> 
> On Friday, August 2nd, 2024 at 3:34 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> 
> I want to include in the regexp the possibility that the user wrote some
> comment in a foreign language other than english.  Otherwise the regexp   
> would simply skip them.  And your suggestion has been [alpha] and [:alnum:].

Once again, [:alpha:] and [:alnum:] will match letters and digits in
any language, not just in English.

> > The useful information is already there (including a cross-reference
> > to a detailed description of what "multibyte" means). I just
> > translated it into simpler terms, based on what you told about the job
> > you want to do, to save you from the need to read that if you don't
> > want to.
> 
> A mention that [:multibyte:] is not used much nowadays.

That's not what I said.  I said it is almost never the right thing
nowadays, especially in your case.

I'm trying to help you by saying simplified things.  The manual
doesn't simplify, because it's a reference.



reply via email to

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