learn-regex icon indicating copy to clipboard operation
learn-regex copied to clipboard

Missing POSIX notation like [:digit:] and [:alpha:]

Open r0f1 opened this issue 8 years ago • 3 comments

Look at the table at the middle of this page.

Everytime you write [a-zA-Z0-9] to select letters and digits, you can write [:alnum:] instead. Another example is when you want to select whitespace. You can write [ \t\r\n\v\f] for spaces, tabs, carriage return, newlines, vertical tabs and page breaks (all of which you would have to remember), or you write [:space:].

r0f1 avatar Aug 10 '17 11:08 r0f1

Please add some description to the issue.

SahibYar avatar Aug 17 '17 10:08 SahibYar

Added description.

r0f1 avatar Aug 22 '17 16:08 r0f1