The Emacs documentation has a section on character classes . According to the manual, [:digit:] must match any digit character. I tried using re-builder , but they never match, although [0-9] matches.
[:digit:]
re-builder
[0-9]
How to use character classes in an Emacs regex?
I get it. The documentation is actually explicit:
Here is a class table in which you can use alternate characters
So, [[:digit:]] is the right way to use character classes.
[[:digit:]]
Source: https://habr.com/ru/post/901351/More articles:ASP.Net - Retrieving Data from RepeaterItem - c #Checking server port availability with Android - androidC # Linq Projecting anonymous type on an interface - c #link or refund - best practice - c ++Join the results "generated" from two SELECT statements with different schemas into one table - sqlTagLib-sharp: reading metadata from an HttpPostedFile object - mp3Why does the composite component of a βrenderedβ attribute throw an IllegalArgument exception? - faceletsDisabling a Visual Studio project for building using cmake - visual-studioWhat is the difference between VB and VBA? - vbaHow to configure CMake to force the VS solution to use a specific build command line? - visual-studio-2010All Articles