Rudolf Adamkovič Personal site


In-pattern class

A component of the item:

CLASSDescriptionComplement
cmatches character c
c-dmatches characters c through d
.matches any character 39
%amatches any letter%A
%cmatches any control character%C
%dmatches any digit%D
%gmatches any printable character but space%G
%lmatches any lowercase letter%L
%pmatches any punctuation character%P
%smatches any whitespace character%S
%umatches any uppercase letter%U
%wmatches any alphanumeric character%W
%xmatches any hexadecimal digit%X
[xxx] /matches the union of class(es) xxx[^xxx]
%xxxescapes xxx magic character ^$()%.[]*+-?

Footnotes

(39)

See utf8.charpattern for UTF-8 characters.


© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.