emacs-devel
[Top][All Lists]
Advanced

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

Re: :alnum: broken?


From: Andreas Schwab
Subject: Re: :alnum: broken?
Date: Fri, 21 Feb 2020 20:04:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

On Feb 21 2020, Stephen Leake wrote:

>   (string-match "[:alnum:]+" text)

That's the same as (string-match "[:almnu]+" text).  If you want to
match alphanumeric characters, use "[[:alnum:]]+".

Andreas.

-- 
Andreas Schwab, address@hidden
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]