ブラケット表現 (Bracket Expression)


[:space:] スペースやタブ、改行

HT (Horizontal Tab) LF (Line Feed) VT (Vertical Tab) FF (Form Feed) CR (Carriage Return)
SP (SPace)

[:punct:] 記号 (graph - alnum)

! " # $ % & ' ( ) * + , - . /
: ; < = > ?
@
[ \ ] ^ _
`
{ | } ~

[:alnum:] 英数字 (graph - punct)

0 1 2 3 4 5 6 7 8 9
A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z
a b c d e f g h i j k l m n o
p q r s t u v w x y z

[:alpha:] 英字 (alnum - digit)

A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z
a b c d e f g h i j k l m n o
p q r s t u v w x y z

[:cntrl:] 制御文字

NUL (NULl) SOH (Start Of Heading) STX (Start of TeXt) ETX (End of TeXt) EOT (End Of Transmission) ENQ (ENQuiry) ACK (ACKnowledge) BEL (BELl) BS (Back Space) HT LF VT FF CR SO (Shift Out) SI (Shift In)
DLE (Data Link Escape) DC1 (Device Control 1) DC2 (Device Control 2) DC3 (Device Control 3) DC4 (Device Control 4) NAK (Negative AcKnowledge) SYN (SYNchronous idle) ETB (End of Transmission Block) CAN (CANcel) EM (End of Medium) SUB (SUBstitute) ESC (ESCape) FS (File Separator) GS (Group Separator) RS (Record Separator) US (Unit Separator)
DEL (DELete)

[:digit:] 数字 (alnum - alpha)

0 1 2 3 4 5 6 7 8 9

[:graph:] 文字記号 (alnum + punct, print - SP)

! " # $ % & ' ( ) * + , - . /
0 1 2 3 4 5 6 7 8 9 : ; < = > ?
@ A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z [ \ ] ^ _
` a b c d e f g h i j k l m n o
p q r s t u v w x y z { | } ~

[:lower:] 英小文字 (alpha - upper)

a b c d e f g h i j k l m n o
p q r s t u v w x y z

[:print:] 表示可能文字 (graph + SP)

SP ! " # $ % & ' ( ) * + , - . /
0 1 2 3 4 5 6 7 8 9 : ; < = > ?
@ A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z [ \ ] ^ _
` a b c d e f g h i j k l m n o
p q r s t u v w x y z { | } ~

[:upper:] 英大文字 (alpha - lower)

A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z

[:xdigit:] 16進数

0 1 2 3 4 5 6 7 8 9
A B C D E F
a b c d e f

参考: google でヒットしたページのキャッシュ(あちこち)