每个unicode类括号字符(包括例如{}[]()<>
)的列表是什么?搜索Unicode字符的好方法是什么?
Answers:
有一个纯文本数据库,其中包含Unicode联盟提供的有关每个Unicode字符的信息。该格式在Unicode附件#44中进行了描述。主要信息包含在UnicodeData.txt中。在General_Category字段(第三个字段,以分隔)中,打开和关闭标点符号用Ps
(标点开始)和Pe
(标点结束)表示;
。寻找那些角色,您会找到想要的东西。
请注意,可能不会列出您认为方括号的所有字符;例如,引号(包括“«»”)。以Pi
和表示Pf
(初始和最终标点符号),因此您可能还希望包括它们。某些字符(例如<
和)>
在某些上下文中(例如HTML / XML)用作括号,而Sm
在UnicodeData.txt中它们被视为数学符号()。您将需要手工找到的那些;没有预先确定的清单。
这是一个快速的Bash脚本,用于获取此信息及其输出。我已经包括了方括号和引号。(注意:在某些Bash实现中,UTF-8打印存在一个错误,导致该错误将U + 00AB“«”和U + 00BB“»”打印为“?”,并且某些终端无法渲染所有字符正确地。)
while IFS=';' read number name category rest
do
if [[ "$category" =~ Ps|Pe|Pi|Pf ]]
then
printf "%s (U+%s, %s): \u"$number"\n" "$name" "$number" "$category"
fi
done <UnicodeData.txt
左上肢瘫痪(U + 0028,Ps):( 右肾上腺素(U + 0029,Pe):) 左方括号(U + 005B,Ps):[ 右方括号(U + 005D,Pe):] 左卷曲支架(U + 007B,Ps):{ 正确的卷曲支架(U + 007D,Pe):} 左双角引号(U + 00AB,Pi):« 正确的双角引号(U + 00BB,Pf):» 西藏马克·古格RTAGS GYON(U + 0F3A,Ps):( 西藏马克·古格·拉塔斯·贾斯(U + 0F3B,Pe):) 西藏马克昂康贡(U + 0F3C,Ps):( 西藏马克·昂·康贾斯(U + 0F3D,Pe):༽ OGHAM FEATHER MARK(U + 169B,Ps):᚛ 奥甘(OGHAM)反羽毛商标(U + 169C,Pe):᚜ 左单引号(U + 2018,Pi):' 右单引号(U + 2019,Pf):' 单低9引号(U + 201A,Ps):, 单个高反9引号(U + 201B,Pi):‛ 左双引号(U + 201C,Pi): 正确的双引号(U + 201D,Pf):” LOW-9双引号(U + 201E,Ps): 双高反9引号(U + 201F,Pi):`` 单左角引号(U + 2039,Pi):‹ 单右角引号(U + 203A,Pf):› 带有QU子的左方支架(U + 2045,Ps):⁅ 带有QU子的右方括号(U + 2046,Pe):⁆ 上字幕左上泛音(U + 207D,Ps):⁽ 上字幕右上角(U + 207E,Pe):⁾ 订阅左图(U + 208D,Ps):₍ 订阅右眼(U + 208E,Pe):₎ 左倾角支架(U + 2329,Ps):〈 右弯角支架(U + 232A,Pe):〉 中左上颌骨瓣膜(U + 2768,Ps):❨ 中右肾上腺增生症(U + 2769,Pe):❩ 中度左潘通心膜装饰物(U + 276A,Ps):❪ 中度右肾上腺髓质增生症(U + 276B,Pe):❫ 中左角角支架装饰品(U + 276C,Ps):❬ 中号右角角支架装饰物(U + 276D,Pe):❭ 左重角引号标记(U + 276E,Ps):❮ 右偏角引号标记装饰品(U + 276F,Pe):❯ 重磅点角支架装饰品(U + 2770,Ps):❰ 重型右倾角支架装饰品(U + 2771,Pe):❱ 左龟甲壳托架饰物(U + 2772,Ps):❲ 右陆龟甲壳饰品(U + 2773,Pe):❳ 中左卷曲支架饰物(U + 2774,Ps):❴ 中右卷曲支架装饰品(U + 2775,Pe):❵ 左S形提包分隔符(U + 27C5,Ps):⟅ 右S形提包分隔符(U + 27C6,Pe):⟆ 左数学方括号(U + 27E6,Ps):⟦ 数学右方括号(U + 27E7,Pe):⟧ 数学左角支架(U + 27E8,Ps):⟨ 数学直角支架(U + 27E9,Pe):⟩ 数学左双角支架(U + 27EA,Ps):⟪ 数学右双角支架(U + 27EB,Pe):: 左数学龟甲外壳支架(U + 27EC,Ps):⟬ 数学右白龟壳支架(U + 27ED,Pe):⟭ 数学左手幻觉(U + 27EE,Ps):⟮ 数学右眼通灵(U + 27EF,Pe):⟯ 左白卷曲支架(U + 2983,Ps):⦃ 右白卷曲支架(U + 2984,Pe):⦄ 左白粉病(U + 2985,Ps):⦅ 右白粉彩(U + 2986,Pe):⦆ Z符号左图像支架(U + 2987,Ps):⦇ Z符号正确的图像支架(U + 2988,Pe):⦈ Z符号左绑定支架(U + 2989,Ps):⦉ Z符号右绑定支架(U + 298A,Pe):⦊ 左下方括号(U + 298B,Ps):⦋ 带下巴的右方括号(U + 298C,Pe):⦌ 左拐角支架,带刻度线(U + 298D,Ps):⦍ 右下角带有刻度线的支架(U + 298E,Pe):⦎ 底部带有刻度的方形支架(U + 298F,Ps):⦏ 右拐角支架,带刻度线(U + 2990,Pe):⦐ 带有点的左角支架(U + 2991,Ps):⦑ 带点的直角支架(U + 2992,Pe):⦒ 左弧小于支架(U + 2993,Ps):⦓ 右圆角大于括号(U + 2994,Pe):⦔ 双左弓大于括号(U + 2995,Ps):⦕ 双右圆弧小于支架(U + 2996,Pe):⦖ 左乌龟外壳支架(U + 2997,Ps):⦗ 右黑龟壳支架(U + 2998,Pe):⦘ 左摆动围栏(U + 29D8,Ps):⧘ 右摆动围栏(U + 29D9,Pe):⧙ 左双摇晃式防护栏(U + 29DA,Ps):⧚ 右双摇晃式防护栏(U + 29DB,Pe):⧛ 左弯弯曲角支架(U + 29FC,Ps):⧼ 右弯弯角支架(U + 29FD,Pe):⧽ 左替换支架(U + 2E02,Pi):⸂ 右侧替代支架(U + 2E03,Pf):⸃ 左虚线替代支架(U + 2E04,Pi):⸄ 右虚线替换支架(U + 2E05,Pf):⸅ 左移置支架(U + 2E09,Pi):⸉ 右移支架(U + 2E0A,Pf):⸊ 左升举遗漏支架(U + 2E0C,Pi):⸌ 右上升漏斗支架(U + 2E0D,Pf):⸍ 左低PARAPHRASE支架(U + 2E1C,Pi):⸜ 右低PARAPHRASE支架(U + 2E1D,Pf):⸝ 带有颤音的左垂直条(U + 2E20,Pi):⸠ 右垂直带锤子的横杆(U + 2E21,Pf):⸡ 左上半支架(U + 2E22,Ps):⸢ 右上半支架(U + 2E23,Pe):⸣ 左下半支架(U + 2E24,Ps):⸤ 右下半支架(U + 2E25,Pe):⸥ 左舷U型支架(U + 2E26,Ps):⸦ 右舷U支架(U + 2E27,Pe):⸧ 左双通行证(U + 2E28,Ps):⸨ 右双PA(U + 2E29,Pe):⸩ 左角支架(U + 3008,Ps):〈 直角支架(U + 3009,Pe):〉 左双角支架(U + 300A,Ps):《 右双角支架(U + 300B,Pe):》 左角支架(U + 300C,Ps):「 右角支架(U + 300D,Pe):'' 左拐角支架(U + 300E,Ps):『 右角拐角支架(U + 300F,Pe):』 左黑色镜架(U + 3010,Ps):【 右黑镜片支架(U + 3011,Pe):) 左龟甲支架(U + 3014,Ps):〔 右龟甲支架(U + 3015,Pe):〕 左白镜片支架(U + 3016,Ps):〖 右白镜片支架(U + 3017,Pe):〖 左乌龟外壳支架(U + 3018,Ps):〘 右白龟壳支架(U + 3019,Pe):〙 左方方形支架(U + 301A,Ps):〚 右方括号(U + 301B,Pe):〛 反向双底引号(U + 301D,Ps):〝 双重引号(U + 301E,Pe):〞 低双底引号(U + 301F,Pe):〟 左上腹痛(U + FD3E,Ps):( RNA骨右PA(U + FD3F,Pe):) 立式白色圆柱支架的展示形式(U + FE17,Ps):︗ 垂直右白齿形胸花(U + FE18,Pe)的呈现形式:︘ 垂直左肾上腺素的表达形式(U + FE35,Ps):( 垂直权重陈述表(U + FE36,Pe):: 垂直左卷曲支架的演示表格(U + FE37,Ps):︷ 垂直右弯括号的演示表格(U + FE38,Pe):︸ 垂直左龟甲支架的展示形式(U + FE39,Ps):︹ 垂直右龟甲支架的展示形式(U + FE3A,Pe):︺ 垂直左黑色镜架展示形式(U + FE3B,Ps):︻ 垂直右黑色镜架展示形式(U + FE3C,Pe):︼ 垂直左双角支架的展示形式(U + FE3D,Ps):︽ 垂直右双角支架的演示表格(U + FE3E,Pe):︾ 垂直左角支架的展示形式(U + FE3F,Ps):︿ 立式直角支架的展示形式(U + FE40,Pe):﹀ 垂直左角支架的演示表格(U + FE41,Ps):﹁ 垂直右角支架的演示表格(U + FE42,Pe):﹂ 立式白色角支架的展示形式(U + FE43,Ps):﹃ 垂直右白角支架的演示表格(U + FE44,Pe):﹄ 垂直左方括号的演示形式(U + FE47,Ps):﹇ 垂直右方支架的展示形式(U + FE48,Pe):﹈ 小左心病(U + FE59,Ps):( 小右PA(U + FE5A,Pe):Pe 小左卷曲支架(U + FE5B,Ps):﹛ 小号卷曲的支架(U + FE5C,Pe):﹜ 小左龟甲支架(U + FE5D,Ps):﹝ 小巧的陆龟外壳支架(U + FE5E,Pe):﹞ 左侧全残影(U + FF08,Ps):( 完整的右手感(U + FF09,Pe):) 左侧全幅支架(U + FF3B,Ps):[ 右宽度全方括号(U + FF3D,Pe):】 左侧全卷曲支架(U + FF5B,Ps):{ 完全正确的卷曲支架(U + FF5D,Pe):} 左全白粉病(U + FF5F,Ps):⦅ 完全右白粉病(U + FF60,Pe):⦆ 半宽左角支架(U + FF62,Ps):「 半宽右角支架(U + FF63,Pe):」
<
和>
)在括号中被使用,而它们在中被视为数学符号UnicodeData.txt
。您将需要手工查找这些字符;这些字符没有预先确定的清单。” 您提到的字符属于该类别。它们不打算用作括号,但可以这样使用。与LESS THAN(<
)类似,VERY MUCH LESS-THAN是比较运算符,而不是括号,也是一个运算符,但由于ASCII字符集的限制,也被重新用作尖括号。
Unicode中没有规范的列表,您必须定义自己的列表。您可以首先使用Python的unicodedata
模块浏览Unicode数据库。请注意,<>
即使它们具有其他正式含义(即小于和大于符号),也不会找到像这样用作括号的内容。
#!/usr/bin/env python2.7
import re
import unicodedata
for i in range(0x10000):
char = unichr(i)
category = unicodedata.category(char)
name = unicodedata.name(char, '')
if ('bracket' in name.lower() or 'paren' in name.lower()
or category in ['Ps', 'Pe']):
print 'U+%04x %s %s %c' % (i, category, name, char)
输出:
U+0028 Ps LEFT PARENTHESIS (
U+0029 Pe RIGHT PARENTHESIS )
U+005b Ps LEFT SQUARE BRACKET [
U+005d Pe RIGHT SQUARE BRACKET ]
U+007b Ps LEFT CURLY BRACKET {
U+007d Pe RIGHT CURLY BRACKET }
U+0f3a Ps TIBETAN MARK GUG RTAGS GYON ༺
U+0f3b Pe TIBETAN MARK GUG RTAGS GYAS ༻
U+0f3c Ps TIBETAN MARK ANG KHANG GYON ༼
U+0f3d Pe TIBETAN MARK ANG KHANG GYAS ༽
U+169b Ps OGHAM FEATHER MARK ᚛
U+169c Pe OGHAM REVERSED FEATHER MARK ᚜
U+201a Ps SINGLE LOW-9 QUOTATION MARK ‚
U+201e Ps DOUBLE LOW-9 QUOTATION MARK „
U+2045 Ps LEFT SQUARE BRACKET WITH QUILL ⁅
U+2046 Pe RIGHT SQUARE BRACKET WITH QUILL ⁆
U+207d Ps SUPERSCRIPT LEFT PARENTHESIS ⁽
U+207e Pe SUPERSCRIPT RIGHT PARENTHESIS ⁾
U+208d Ps SUBSCRIPT LEFT PARENTHESIS ₍
U+208e Pe SUBSCRIPT RIGHT PARENTHESIS ₎
U+2329 Ps LEFT-POINTING ANGLE BRACKET 〈
U+232a Pe RIGHT-POINTING ANGLE BRACKET 〉
U+239b Sm LEFT PARENTHESIS UPPER HOOK ⎛
U+239c Sm LEFT PARENTHESIS EXTENSION ⎜
U+239d Sm LEFT PARENTHESIS LOWER HOOK ⎝
U+239e Sm RIGHT PARENTHESIS UPPER HOOK ⎞
U+239f Sm RIGHT PARENTHESIS EXTENSION ⎟
U+23a0 Sm RIGHT PARENTHESIS LOWER HOOK ⎠
U+23a1 Sm LEFT SQUARE BRACKET UPPER CORNER ⎡
U+23a2 Sm LEFT SQUARE BRACKET EXTENSION ⎢
U+23a3 Sm LEFT SQUARE BRACKET LOWER CORNER ⎣
U+23a4 Sm RIGHT SQUARE BRACKET UPPER CORNER ⎤
U+23a5 Sm RIGHT SQUARE BRACKET EXTENSION ⎥
U+23a6 Sm RIGHT SQUARE BRACKET LOWER CORNER ⎦
U+23a7 Sm LEFT CURLY BRACKET UPPER HOOK ⎧
U+23a8 Sm LEFT CURLY BRACKET MIDDLE PIECE ⎨
U+23a9 Sm LEFT CURLY BRACKET LOWER HOOK ⎩
U+23aa Sm CURLY BRACKET EXTENSION ⎪
U+23ab Sm RIGHT CURLY BRACKET UPPER HOOK ⎫
U+23ac Sm RIGHT CURLY BRACKET MIDDLE PIECE ⎬
U+23ad Sm RIGHT CURLY BRACKET LOWER HOOK ⎭
U+23b0 Sm UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION ⎰
U+23b1 Sm UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION ⎱
U+23b4 So TOP SQUARE BRACKET ⎴
U+23b5 So BOTTOM SQUARE BRACKET ⎵
U+23b6 So BOTTOM SQUARE BRACKET OVER TOP SQUARE BRACKET ⎶
U+23dc Sm TOP PARENTHESIS ⏜
U+23dd Sm BOTTOM PARENTHESIS ⏝
U+23de Sm TOP CURLY BRACKET ⏞
U+23df Sm BOTTOM CURLY BRACKET ⏟
U+23e0 Sm TOP TORTOISE SHELL BRACKET ⏠
U+23e1 Sm BOTTOM TORTOISE SHELL BRACKET ⏡
U+2474 No PARENTHESIZED DIGIT ONE ⑴
U+2475 No PARENTHESIZED DIGIT TWO ⑵
U+2476 No PARENTHESIZED DIGIT THREE ⑶
U+2477 No PARENTHESIZED DIGIT FOUR ⑷
U+2478 No PARENTHESIZED DIGIT FIVE ⑸
U+2479 No PARENTHESIZED DIGIT SIX ⑹
U+247a No PARENTHESIZED DIGIT SEVEN ⑺
U+247b No PARENTHESIZED DIGIT EIGHT ⑻
U+247c No PARENTHESIZED DIGIT NINE ⑼
U+247d No PARENTHESIZED NUMBER TEN ⑽
U+247e No PARENTHESIZED NUMBER ELEVEN ⑾
U+247f No PARENTHESIZED NUMBER TWELVE ⑿
U+2480 No PARENTHESIZED NUMBER THIRTEEN ⒀
U+2481 No PARENTHESIZED NUMBER FOURTEEN ⒁
U+2482 No PARENTHESIZED NUMBER FIFTEEN ⒂
U+2483 No PARENTHESIZED NUMBER SIXTEEN ⒃
U+2484 No PARENTHESIZED NUMBER SEVENTEEN ⒄
U+2485 No PARENTHESIZED NUMBER EIGHTEEN ⒅
U+2486 No PARENTHESIZED NUMBER NINETEEN ⒆
U+2487 No PARENTHESIZED NUMBER TWENTY ⒇
U+249c So PARENTHESIZED LATIN SMALL LETTER A ⒜
U+249d So PARENTHESIZED LATIN SMALL LETTER B ⒝
U+249e So PARENTHESIZED LATIN SMALL LETTER C ⒞
U+249f So PARENTHESIZED LATIN SMALL LETTER D ⒟
U+24a0 So PARENTHESIZED LATIN SMALL LETTER E ⒠
U+24a1 So PARENTHESIZED LATIN SMALL LETTER F ⒡
U+24a2 So PARENTHESIZED LATIN SMALL LETTER G ⒢
U+24a3 So PARENTHESIZED LATIN SMALL LETTER H ⒣
U+24a4 So PARENTHESIZED LATIN SMALL LETTER I ⒤
U+24a5 So PARENTHESIZED LATIN SMALL LETTER J ⒥
U+24a6 So PARENTHESIZED LATIN SMALL LETTER K ⒦
U+24a7 So PARENTHESIZED LATIN SMALL LETTER L ⒧
U+24a8 So PARENTHESIZED LATIN SMALL LETTER M ⒨
U+24a9 So PARENTHESIZED LATIN SMALL LETTER N ⒩
U+24aa So PARENTHESIZED LATIN SMALL LETTER O ⒪
U+24ab So PARENTHESIZED LATIN SMALL LETTER P ⒫
U+24ac So PARENTHESIZED LATIN SMALL LETTER Q ⒬
U+24ad So PARENTHESIZED LATIN SMALL LETTER R ⒭
U+24ae So PARENTHESIZED LATIN SMALL LETTER S ⒮
U+24af So PARENTHESIZED LATIN SMALL LETTER T ⒯
U+24b0 So PARENTHESIZED LATIN SMALL LETTER U ⒰
U+24b1 So PARENTHESIZED LATIN SMALL LETTER V ⒱
U+24b2 So PARENTHESIZED LATIN SMALL LETTER W ⒲
U+24b3 So PARENTHESIZED LATIN SMALL LETTER X ⒳
U+24b4 So PARENTHESIZED LATIN SMALL LETTER Y ⒴
U+24b5 So PARENTHESIZED LATIN SMALL LETTER Z ⒵
U+2768 Ps MEDIUM LEFT PARENTHESIS ORNAMENT ❨
U+2769 Pe MEDIUM RIGHT PARENTHESIS ORNAMENT ❩
U+276a Ps MEDIUM FLATTENED LEFT PARENTHESIS ORNAMENT ❪
U+276b Pe MEDIUM FLATTENED RIGHT PARENTHESIS ORNAMENT ❫
U+276c Ps MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT ❬
U+276d Pe MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT ❭
U+276e Ps HEAVY LEFT-POINTING ANGLE QUOTATION MARK ORNAMENT ❮
U+276f Pe HEAVY RIGHT-POINTING ANGLE QUOTATION MARK ORNAMENT ❯
U+2770 Ps HEAVY LEFT-POINTING ANGLE BRACKET ORNAMENT ❰
U+2771 Pe HEAVY RIGHT-POINTING ANGLE BRACKET ORNAMENT ❱
U+2772 Ps LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT ❲
U+2773 Pe LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT ❳
U+2774 Ps MEDIUM LEFT CURLY BRACKET ORNAMENT ❴
U+2775 Pe MEDIUM RIGHT CURLY BRACKET ORNAMENT ❵
U+27c5 Ps LEFT S-SHAPED BAG DELIMITER ⟅
U+27c6 Pe RIGHT S-SHAPED BAG DELIMITER ⟆
U+27e6 Ps MATHEMATICAL LEFT WHITE SQUARE BRACKET ⟦
U+27e7 Pe MATHEMATICAL RIGHT WHITE SQUARE BRACKET ⟧
U+27e8 Ps MATHEMATICAL LEFT ANGLE BRACKET ⟨
U+27e9 Pe MATHEMATICAL RIGHT ANGLE BRACKET ⟩
U+27ea Ps MATHEMATICAL LEFT DOUBLE ANGLE BRACKET ⟪
U+27eb Pe MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET ⟫
U+27ec Ps MATHEMATICAL LEFT WHITE TORTOISE SHELL BRACKET ⟬
U+27ed Pe MATHEMATICAL RIGHT WHITE TORTOISE SHELL BRACKET ⟭
U+27ee Ps MATHEMATICAL LEFT FLATTENED PARENTHESIS ⟮
U+27ef Pe MATHEMATICAL RIGHT FLATTENED PARENTHESIS ⟯
U+2983 Ps LEFT WHITE CURLY BRACKET ⦃
U+2984 Pe RIGHT WHITE CURLY BRACKET ⦄
U+2985 Ps LEFT WHITE PARENTHESIS ⦅
U+2986 Pe RIGHT WHITE PARENTHESIS ⦆
U+2987 Ps Z NOTATION LEFT IMAGE BRACKET ⦇
U+2988 Pe Z NOTATION RIGHT IMAGE BRACKET ⦈
U+2989 Ps Z NOTATION LEFT BINDING BRACKET ⦉
U+298a Pe Z NOTATION RIGHT BINDING BRACKET ⦊
U+298b Ps LEFT SQUARE BRACKET WITH UNDERBAR ⦋
U+298c Pe RIGHT SQUARE BRACKET WITH UNDERBAR ⦌
U+298d Ps LEFT SQUARE BRACKET WITH TICK IN TOP CORNER ⦍
U+298e Pe RIGHT SQUARE BRACKET WITH TICK IN BOTTOM CORNER ⦎
U+298f Ps LEFT SQUARE BRACKET WITH TICK IN BOTTOM CORNER ⦏
U+2990 Pe RIGHT SQUARE BRACKET WITH TICK IN TOP CORNER ⦐
U+2991 Ps LEFT ANGLE BRACKET WITH DOT ⦑
U+2992 Pe RIGHT ANGLE BRACKET WITH DOT ⦒
U+2993 Ps LEFT ARC LESS-THAN BRACKET ⦓
U+2994 Pe RIGHT ARC GREATER-THAN BRACKET ⦔
U+2995 Ps DOUBLE LEFT ARC GREATER-THAN BRACKET ⦕
U+2996 Pe DOUBLE RIGHT ARC LESS-THAN BRACKET ⦖
U+2997 Ps LEFT BLACK TORTOISE SHELL BRACKET ⦗
U+2998 Pe RIGHT BLACK TORTOISE SHELL BRACKET ⦘
U+29d8 Ps LEFT WIGGLY FENCE ⧘
U+29d9 Pe RIGHT WIGGLY FENCE ⧙
U+29da Ps LEFT DOUBLE WIGGLY FENCE ⧚
U+29db Pe RIGHT DOUBLE WIGGLY FENCE ⧛
U+29fc Ps LEFT-POINTING CURVED ANGLE BRACKET ⧼
U+29fd Pe RIGHT-POINTING CURVED ANGLE BRACKET ⧽
U+2e02 Pi LEFT SUBSTITUTION BRACKET ⸂
U+2e03 Pf RIGHT SUBSTITUTION BRACKET ⸃
U+2e04 Pi LEFT DOTTED SUBSTITUTION BRACKET ⸄
U+2e05 Pf RIGHT DOTTED SUBSTITUTION BRACKET ⸅
U+2e09 Pi LEFT TRANSPOSITION BRACKET ⸉
U+2e0a Pf RIGHT TRANSPOSITION BRACKET ⸊
U+2e0c Pi LEFT RAISED OMISSION BRACKET ⸌
U+2e0d Pf RIGHT RAISED OMISSION BRACKET ⸍
U+2e1c Pi LEFT LOW PARAPHRASE BRACKET ⸜
U+2e1d Pf RIGHT LOW PARAPHRASE BRACKET ⸝
U+2e22 Ps TOP LEFT HALF BRACKET ⸢
U+2e23 Pe TOP RIGHT HALF BRACKET ⸣
U+2e24 Ps BOTTOM LEFT HALF BRACKET ⸤
U+2e25 Pe BOTTOM RIGHT HALF BRACKET ⸥
U+2e26 Ps LEFT SIDEWAYS U BRACKET ⸦
U+2e27 Pe RIGHT SIDEWAYS U BRACKET ⸧
U+2e28 Ps LEFT DOUBLE PARENTHESIS ⸨
U+2e29 Pe RIGHT DOUBLE PARENTHESIS ⸩
U+3008 Ps LEFT ANGLE BRACKET 〈
U+3009 Pe RIGHT ANGLE BRACKET 〉
U+300a Ps LEFT DOUBLE ANGLE BRACKET 《
U+300b Pe RIGHT DOUBLE ANGLE BRACKET 》
U+300c Ps LEFT CORNER BRACKET 「
U+300d Pe RIGHT CORNER BRACKET 」
U+300e Ps LEFT WHITE CORNER BRACKET 『
U+300f Pe RIGHT WHITE CORNER BRACKET 』
U+3010 Ps LEFT BLACK LENTICULAR BRACKET 【
U+3011 Pe RIGHT BLACK LENTICULAR BRACKET 】
U+3014 Ps LEFT TORTOISE SHELL BRACKET 〔
U+3015 Pe RIGHT TORTOISE SHELL BRACKET 〕
U+3016 Ps LEFT WHITE LENTICULAR BRACKET 〖
U+3017 Pe RIGHT WHITE LENTICULAR BRACKET 〗
U+3018 Ps LEFT WHITE TORTOISE SHELL BRACKET 〘
U+3019 Pe RIGHT WHITE TORTOISE SHELL BRACKET 〙
U+301a Ps LEFT WHITE SQUARE BRACKET 〚
U+301b Pe RIGHT WHITE SQUARE BRACKET 〛
U+301d Ps REVERSED DOUBLE PRIME QUOTATION MARK 〝
U+301e Pe DOUBLE PRIME QUOTATION MARK 〞
U+301f Pe LOW DOUBLE PRIME QUOTATION MARK 〟
U+3200 So PARENTHESIZED HANGUL KIYEOK ㈀
U+3201 So PARENTHESIZED HANGUL NIEUN ㈁
U+3202 So PARENTHESIZED HANGUL TIKEUT ㈂
U+3203 So PARENTHESIZED HANGUL RIEUL ㈃
U+3204 So PARENTHESIZED HANGUL MIEUM ㈄
U+3205 So PARENTHESIZED HANGUL PIEUP ㈅
U+3206 So PARENTHESIZED HANGUL SIOS ㈆
U+3207 So PARENTHESIZED HANGUL IEUNG ㈇
U+3208 So PARENTHESIZED HANGUL CIEUC ㈈
U+3209 So PARENTHESIZED HANGUL CHIEUCH ㈉
U+320a So PARENTHESIZED HANGUL KHIEUKH ㈊
U+320b So PARENTHESIZED HANGUL THIEUTH ㈋
U+320c So PARENTHESIZED HANGUL PHIEUPH ㈌
U+320d So PARENTHESIZED HANGUL HIEUH ㈍
U+320e So PARENTHESIZED HANGUL KIYEOK A ㈎
U+320f So PARENTHESIZED HANGUL NIEUN A ㈏
U+3210 So PARENTHESIZED HANGUL TIKEUT A ㈐
U+3211 So PARENTHESIZED HANGUL RIEUL A ㈑
U+3212 So PARENTHESIZED HANGUL MIEUM A ㈒
U+3213 So PARENTHESIZED HANGUL PIEUP A ㈓
U+3214 So PARENTHESIZED HANGUL SIOS A ㈔
U+3215 So PARENTHESIZED HANGUL IEUNG A ㈕
U+3216 So PARENTHESIZED HANGUL CIEUC A ㈖
U+3217 So PARENTHESIZED HANGUL CHIEUCH A ㈗
U+3218 So PARENTHESIZED HANGUL KHIEUKH A ㈘
U+3219 So PARENTHESIZED HANGUL THIEUTH A ㈙
U+321a So PARENTHESIZED HANGUL PHIEUPH A ㈚
U+321b So PARENTHESIZED HANGUL HIEUH A ㈛
U+321c So PARENTHESIZED HANGUL CIEUC U ㈜
U+321d So PARENTHESIZED KOREAN CHARACTER OJEON ㈝
U+321e So PARENTHESIZED KOREAN CHARACTER O HU ㈞
U+3220 No PARENTHESIZED IDEOGRAPH ONE ㈠
U+3221 No PARENTHESIZED IDEOGRAPH TWO ㈡
U+3222 No PARENTHESIZED IDEOGRAPH THREE ㈢
U+3223 No PARENTHESIZED IDEOGRAPH FOUR ㈣
U+3224 No PARENTHESIZED IDEOGRAPH FIVE ㈤
U+3225 No PARENTHESIZED IDEOGRAPH SIX ㈥
U+3226 No PARENTHESIZED IDEOGRAPH SEVEN ㈦
U+3227 No PARENTHESIZED IDEOGRAPH EIGHT ㈧
U+3228 No PARENTHESIZED IDEOGRAPH NINE ㈨
U+3229 No PARENTHESIZED IDEOGRAPH TEN ㈩
U+322a So PARENTHESIZED IDEOGRAPH MOON ㈪
U+322b So PARENTHESIZED IDEOGRAPH FIRE ㈫
U+322c So PARENTHESIZED IDEOGRAPH WATER ㈬
U+322d So PARENTHESIZED IDEOGRAPH WOOD ㈭
U+322e So PARENTHESIZED IDEOGRAPH METAL ㈮
U+322f So PARENTHESIZED IDEOGRAPH EARTH ㈯
U+3230 So PARENTHESIZED IDEOGRAPH SUN ㈰
U+3231 So PARENTHESIZED IDEOGRAPH STOCK ㈱
U+3232 So PARENTHESIZED IDEOGRAPH HAVE ㈲
U+3233 So PARENTHESIZED IDEOGRAPH SOCIETY ㈳
U+3234 So PARENTHESIZED IDEOGRAPH NAME ㈴
U+3235 So PARENTHESIZED IDEOGRAPH SPECIAL ㈵
U+3236 So PARENTHESIZED IDEOGRAPH FINANCIAL ㈶
U+3237 So PARENTHESIZED IDEOGRAPH CONGRATULATION ㈷
U+3238 So PARENTHESIZED IDEOGRAPH LABOR ㈸
U+3239 So PARENTHESIZED IDEOGRAPH REPRESENT ㈹
U+323a So PARENTHESIZED IDEOGRAPH CALL ㈺
U+323b So PARENTHESIZED IDEOGRAPH STUDY ㈻
U+323c So PARENTHESIZED IDEOGRAPH SUPERVISE ㈼
U+323d So PARENTHESIZED IDEOGRAPH ENTERPRISE ㈽
U+323e So PARENTHESIZED IDEOGRAPH RESOURCE ㈾
U+323f So PARENTHESIZED IDEOGRAPH ALLIANCE ㈿
U+3240 So PARENTHESIZED IDEOGRAPH FESTIVAL ㉀
U+3241 So PARENTHESIZED IDEOGRAPH REST ㉁
U+3242 So PARENTHESIZED IDEOGRAPH SELF ㉂
U+3243 So PARENTHESIZED IDEOGRAPH REACH ㉃
U+fd3e Ps ORNATE LEFT PARENTHESIS ﴾
U+fd3f Pe ORNATE RIGHT PARENTHESIS ﴿
U+fe17 Ps PRESENTATION FORM FOR VERTICAL LEFT WHITE LENTICULAR BRACKET ︗
U+fe18 Pe PRESENTATION FORM FOR VERTICAL RIGHT WHITE LENTICULAR BRAKCET ︘
U+fe35 Ps PRESENTATION FORM FOR VERTICAL LEFT PARENTHESIS ︵
U+fe36 Pe PRESENTATION FORM FOR VERTICAL RIGHT PARENTHESIS ︶
U+fe37 Ps PRESENTATION FORM FOR VERTICAL LEFT CURLY BRACKET ︷
U+fe38 Pe PRESENTATION FORM FOR VERTICAL RIGHT CURLY BRACKET ︸
U+fe39 Ps PRESENTATION FORM FOR VERTICAL LEFT TORTOISE SHELL BRACKET ︹
U+fe3a Pe PRESENTATION FORM FOR VERTICAL RIGHT TORTOISE SHELL BRACKET ︺
U+fe3b Ps PRESENTATION FORM FOR VERTICAL LEFT BLACK LENTICULAR BRACKET ︻
U+fe3c Pe PRESENTATION FORM FOR VERTICAL RIGHT BLACK LENTICULAR BRACKET ︼
U+fe3d Ps PRESENTATION FORM FOR VERTICAL LEFT DOUBLE ANGLE BRACKET ︽
U+fe3e Pe PRESENTATION FORM FOR VERTICAL RIGHT DOUBLE ANGLE BRACKET ︾
U+fe3f Ps PRESENTATION FORM FOR VERTICAL LEFT ANGLE BRACKET ︿
U+fe40 Pe PRESENTATION FORM FOR VERTICAL RIGHT ANGLE BRACKET ﹀
U+fe41 Ps PRESENTATION FORM FOR VERTICAL LEFT CORNER BRACKET ﹁
U+fe42 Pe PRESENTATION FORM FOR VERTICAL RIGHT CORNER BRACKET ﹂
U+fe43 Ps PRESENTATION FORM FOR VERTICAL LEFT WHITE CORNER BRACKET ﹃
U+fe44 Pe PRESENTATION FORM FOR VERTICAL RIGHT WHITE CORNER BRACKET ﹄
U+fe47 Ps PRESENTATION FORM FOR VERTICAL LEFT SQUARE BRACKET ﹇
U+fe48 Pe PRESENTATION FORM FOR VERTICAL RIGHT SQUARE BRACKET ﹈
U+fe59 Ps SMALL LEFT PARENTHESIS ﹙
U+fe5a Pe SMALL RIGHT PARENTHESIS ﹚
U+fe5b Ps SMALL LEFT CURLY BRACKET ﹛
U+fe5c Pe SMALL RIGHT CURLY BRACKET ﹜
U+fe5d Ps SMALL LEFT TORTOISE SHELL BRACKET ﹝
U+fe5e Pe SMALL RIGHT TORTOISE SHELL BRACKET ﹞
U+ff08 Ps FULLWIDTH LEFT PARENTHESIS (
U+ff09 Pe FULLWIDTH RIGHT PARENTHESIS )
U+ff3b Ps FULLWIDTH LEFT SQUARE BRACKET [
U+ff3d Pe FULLWIDTH RIGHT SQUARE BRACKET ]
U+ff5b Ps FULLWIDTH LEFT CURLY BRACKET {
U+ff5d Pe FULLWIDTH RIGHT CURLY BRACKET }
U+ff5f Ps FULLWIDTH LEFT WHITE PARENTHESIS ⦅
U+ff60 Pe FULLWIDTH RIGHT WHITE PARENTHESIS ⦆
U+ff62 Ps HALFWIDTH LEFT CORNER BRACKET 「
U+ff63 Pe HALFWIDTH RIGHT CORNER BRACKET 」
最近的Unicode版本添加了一个属性Bidi_Paired_Bracket,该属性提供Unicode认为是该问题的答案。这与被镜像的镜像不同。截至Unicode 8.0,共有60个括号对。下表将每个映射到其配合。第一列给出一个代码点。第二个给出了引入的Unicode版本。第三个显示映射,最后一列按字符名称给出映射。另外,为了查看Unicode字符数据库,Perl5与Unicode :: UCD模块打包在一起,具有许多检查功能,包括Perl v5.22中的新功能,这些功能将输出给定代码点的所有属性的值。CPAN上的Unicode :: Tussle提供类似的功能和其他功能
0028 1.1 '(' => ')'; LEFT PARENTHESIS => RIGHT PARENTHESIS
0029 1.1 ')' => '('; RIGHT PARENTHESIS => LEFT PARENTHESIS
005B 1.1 '[' => ']'; LEFT SQUARE BRACKET => RIGHT SQUARE BRACKET
005D 1.1 ']' => '['; RIGHT SQUARE BRACKET => LEFT SQUARE BRACKET
007B 1.1 '{' => '}'; LEFT CURLY BRACKET => RIGHT CURLY BRACKET
007D 1.1 '}' => '{'; RIGHT CURLY BRACKET => LEFT CURLY BRACKET
0F3A 2.0 '༺' => '༻'; TIBETAN MARK GUG RTAGS GYON => TIBETAN MARK GUG RTAGS GYAS
0F3B 2.0 '༻' => '༺'; TIBETAN MARK GUG RTAGS GYAS => TIBETAN MARK GUG RTAGS GYON
0F3C 2.0 '༼' => '༽'; TIBETAN MARK ANG KHANG GYON => TIBETAN MARK ANG KHANG GYAS
0F3D 2.0 '༽' => '༼'; TIBETAN MARK ANG KHANG GYAS => TIBETAN MARK ANG KHANG GYON
169B 3.0 '᚛' => '᚜'; OGHAM FEATHER MARK => OGHAM REVERSED FEATHER MARK
169C 3.0 '᚜' => '᚛'; OGHAM REVERSED FEATHER MARK => OGHAM FEATHER MARK
2045 1.1 '⁅' => '⁆'; LEFT SQUARE BRACKET WITH QUILL => RIGHT SQUARE BRACKET WITH QUILL
2046 1.1 '⁆' => '⁅'; RIGHT SQUARE BRACKET WITH QUILL => LEFT SQUARE BRACKET WITH QUILL
207D 1.1 '⁽' => '⁾'; SUPERSCRIPT LEFT PARENTHESIS => SUPERSCRIPT RIGHT PARENTHESIS
207E 1.1 '⁾' => '⁽'; SUPERSCRIPT RIGHT PARENTHESIS => SUPERSCRIPT LEFT PARENTHESIS
208D 1.1 '₍' => '₎'; SUBSCRIPT LEFT PARENTHESIS => SUBSCRIPT RIGHT PARENTHESIS
208E 1.1 '₎' => '₍'; SUBSCRIPT RIGHT PARENTHESIS => SUBSCRIPT LEFT PARENTHESIS
2308 1.1 '⌈' => '⌉'; LEFT CEILING => RIGHT CEILING
2309 1.1 '⌉' => '⌈'; RIGHT CEILING => LEFT CEILING
230A 1.1 '⌊' => '⌋'; LEFT FLOOR => RIGHT FLOOR
230B 1.1 '⌋' => '⌊'; RIGHT FLOOR => LEFT FLOOR
2329 1.1 '〈' => '〉'; LEFT-POINTING ANGLE BRACKET => RIGHT-POINTING ANGLE BRACKET
232A 1.1 '〉' => '〈'; RIGHT-POINTING ANGLE BRACKET => LEFT-POINTING ANGLE BRACKET
2768 3.2 '❨' => '❩'; MEDIUM LEFT PARENTHESIS ORNAMENT => MEDIUM RIGHT PARENTHESIS ORNAMENT
2769 3.2 '❩' => '❨'; MEDIUM RIGHT PARENTHESIS ORNAMENT => MEDIUM LEFT PARENTHESIS ORNAMENT
276A 3.2 '❪' => '❫'; MEDIUM FLATTENED LEFT PARENTHESIS ORNAMENT => MEDIUM FLATTENED RIGHT PARENTHESIS ORNAMENT
276B 3.2 '❫' => '❪'; MEDIUM FLATTENED RIGHT PARENTHESIS ORNAMENT => MEDIUM FLATTENED LEFT PARENTHESIS ORNAMENT
276C 3.2 '❬' => '❭'; MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT => MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT
276D 3.2 '❭' => '❬'; MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT => MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT
276E 3.2 '❮' => '❯'; HEAVY LEFT-POINTING ANGLE QUOTATION MARK ORNAMENT => HEAVY RIGHT-POINTING ANGLE QUOTATION MARK ORNAMENT
276F 3.2 '❯' => '❮'; HEAVY RIGHT-POINTING ANGLE QUOTATION MARK ORNAMENT => HEAVY LEFT-POINTING ANGLE QUOTATION MARK ORNAMENT
2770 3.2 '❰' => '❱'; HEAVY LEFT-POINTING ANGLE BRACKET ORNAMENT => HEAVY RIGHT-POINTING ANGLE BRACKET ORNAMENT
2771 3.2 '❱' => '❰'; HEAVY RIGHT-POINTING ANGLE BRACKET ORNAMENT => HEAVY LEFT-POINTING ANGLE BRACKET ORNAMENT
2772 3.2 '❲' => '❳'; LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT => LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT
2773 3.2 '❳' => '❲'; LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT => LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT
2774 3.2 '❴' => '❵'; MEDIUM LEFT CURLY BRACKET ORNAMENT => MEDIUM RIGHT CURLY BRACKET ORNAMENT
2775 3.2 '❵' => '❴'; MEDIUM RIGHT CURLY BRACKET ORNAMENT => MEDIUM LEFT CURLY BRACKET ORNAMENT
27C5 4.1 '⟅' => '⟆'; LEFT S-SHAPED BAG DELIMITER => RIGHT S-SHAPED BAG DELIMITER
27C6 4.1 '⟆' => '⟅'; RIGHT S-SHAPED BAG DELIMITER => LEFT S-SHAPED BAG DELIMITER
27E6 3.2 '⟦' => '⟧'; MATHEMATICAL LEFT WHITE SQUARE BRACKET => MATHEMATICAL RIGHT WHITE SQUARE BRACKET
27E7 3.2 '⟧' => '⟦'; MATHEMATICAL RIGHT WHITE SQUARE BRACKET => MATHEMATICAL LEFT WHITE SQUARE BRACKET
27E8 3.2 '⟨' => '⟩'; MATHEMATICAL LEFT ANGLE BRACKET => MATHEMATICAL RIGHT ANGLE BRACKET
27E9 3.2 '⟩' => '⟨'; MATHEMATICAL RIGHT ANGLE BRACKET => MATHEMATICAL LEFT ANGLE BRACKET
27EA 3.2 '⟪' => '⟫'; MATHEMATICAL LEFT DOUBLE ANGLE BRACKET => MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET
27EB 3.2 '⟫' => '⟪'; MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET => MATHEMATICAL LEFT DOUBLE ANGLE BRACKET
27EC 5.1 '⟬' => '⟭'; MATHEMATICAL LEFT WHITE TORTOISE SHELL BRACKET => MATHEMATICAL RIGHT WHITE TORTOISE SHELL BRACKET
27ED 5.1 '⟭' => '⟬'; MATHEMATICAL RIGHT WHITE TORTOISE SHELL BRACKET => MATHEMATICAL LEFT WHITE TORTOISE SHELL BRACKET
27EE 5.1 '⟮' => '⟯'; MATHEMATICAL LEFT FLATTENED PARENTHESIS => MATHEMATICAL RIGHT FLATTENED PARENTHESIS
27EF 5.1 '⟯' => '⟮'; MATHEMATICAL RIGHT FLATTENED PARENTHESIS => MATHEMATICAL LEFT FLATTENED PARENTHESIS
2983 3.2 '⦃' => '⦄'; LEFT WHITE CURLY BRACKET => RIGHT WHITE CURLY BRACKET
2984 3.2 '⦄' => '⦃'; RIGHT WHITE CURLY BRACKET => LEFT WHITE CURLY BRACKET
2985 3.2 '⦅' => '⦆'; LEFT WHITE PARENTHESIS => RIGHT WHITE PARENTHESIS
2986 3.2 '⦆' => '⦅'; RIGHT WHITE PARENTHESIS => LEFT WHITE PARENTHESIS
2987 3.2 '⦇' => '⦈'; Z NOTATION LEFT IMAGE BRACKET => Z NOTATION RIGHT IMAGE BRACKET
2988 3.2 '⦈' => '⦇'; Z NOTATION RIGHT IMAGE BRACKET => Z NOTATION LEFT IMAGE BRACKET
2989 3.2 '⦉' => '⦊'; Z NOTATION LEFT BINDING BRACKET => Z NOTATION RIGHT BINDING BRACKET
298A 3.2 '⦊' => '⦉'; Z NOTATION RIGHT BINDING BRACKET => Z NOTATION LEFT BINDING BRACKET
298B 3.2 '⦋' => '⦌'; LEFT SQUARE BRACKET WITH UNDERBAR => RIGHT SQUARE BRACKET WITH UNDERBAR
298C 3.2 '⦌' => '⦋'; RIGHT SQUARE BRACKET WITH UNDERBAR => LEFT SQUARE BRACKET WITH UNDERBAR
298D 3.2 '⦍' => '⦐'; LEFT SQUARE BRACKET WITH TICK IN TOP CORNER => RIGHT SQUARE BRACKET WITH TICK IN TOP CORNER
298E 3.2 '⦎' => '⦏'; RIGHT SQUARE BRACKET WITH TICK IN BOTTOM CORNER => LEFT SQUARE BRACKET WITH TICK IN BOTTOM CORNER
298F 3.2 '⦏' => '⦎'; LEFT SQUARE BRACKET WITH TICK IN BOTTOM CORNER => RIGHT SQUARE BRACKET WITH TICK IN BOTTOM CORNER
2990 3.2 '⦐' => '⦍'; RIGHT SQUARE BRACKET WITH TICK IN TOP CORNER => LEFT SQUARE BRACKET WITH TICK IN TOP CORNER
2991 3.2 '⦑' => '⦒'; LEFT ANGLE BRACKET WITH DOT => RIGHT ANGLE BRACKET WITH DOT
2992 3.2 '⦒' => '⦑'; RIGHT ANGLE BRACKET WITH DOT => LEFT ANGLE BRACKET WITH DOT
2993 3.2 '⦓' => '⦔'; LEFT ARC LESS-THAN BRACKET => RIGHT ARC GREATER-THAN BRACKET
2994 3.2 '⦔' => '⦓'; RIGHT ARC GREATER-THAN BRACKET => LEFT ARC LESS-THAN BRACKET
2995 3.2 '⦕' => '⦖'; DOUBLE LEFT ARC GREATER-THAN BRACKET => DOUBLE RIGHT ARC LESS-THAN BRACKET
2996 3.2 '⦖' => '⦕'; DOUBLE RIGHT ARC LESS-THAN BRACKET => DOUBLE LEFT ARC GREATER-THAN BRACKET
2997 3.2 '⦗' => '⦘'; LEFT BLACK TORTOISE SHELL BRACKET => RIGHT BLACK TORTOISE SHELL BRACKET
2998 3.2 '⦘' => '⦗'; RIGHT BLACK TORTOISE SHELL BRACKET => LEFT BLACK TORTOISE SHELL BRACKET
29D8 3.2 '⧘' => '⧙'; LEFT WIGGLY FENCE => RIGHT WIGGLY FENCE
29D9 3.2 '⧙' => '⧘'; RIGHT WIGGLY FENCE => LEFT WIGGLY FENCE
29DA 3.2 '⧚' => '⧛'; LEFT DOUBLE WIGGLY FENCE => RIGHT DOUBLE WIGGLY FENCE
29DB 3.2 '⧛' => '⧚'; RIGHT DOUBLE WIGGLY FENCE => LEFT DOUBLE WIGGLY FENCE
29FC 3.2 '⧼' => '⧽'; LEFT-POINTING CURVED ANGLE BRACKET => RIGHT-POINTING CURVED ANGLE BRACKET
29FD 3.2 '⧽' => '⧼'; RIGHT-POINTING CURVED ANGLE BRACKET => LEFT-POINTING CURVED ANGLE BRACKET
2E22 5.1 '⸢' => '⸣'; TOP LEFT HALF BRACKET => TOP RIGHT HALF BRACKET
2E23 5.1 '⸣' => '⸢'; TOP RIGHT HALF BRACKET => TOP LEFT HALF BRACKET
2E24 5.1 '⸤' => '⸥'; BOTTOM LEFT HALF BRACKET => BOTTOM RIGHT HALF BRACKET
2E25 5.1 '⸥' => '⸤'; BOTTOM RIGHT HALF BRACKET => BOTTOM LEFT HALF BRACKET
2E26 5.1 '⸦' => '⸧'; LEFT SIDEWAYS U BRACKET => RIGHT SIDEWAYS U BRACKET
2E27 5.1 '⸧' => '⸦'; RIGHT SIDEWAYS U BRACKET => LEFT SIDEWAYS U BRACKET
2E28 5.1 '⸨' => '⸩'; LEFT DOUBLE PARENTHESIS => RIGHT DOUBLE PARENTHESIS
2E29 5.1 '⸩' => '⸨'; RIGHT DOUBLE PARENTHESIS => LEFT DOUBLE PARENTHESIS
3008 1.1 '〈' => '〉'; LEFT ANGLE BRACKET => RIGHT ANGLE BRACKET
3009 1.1 '〉' => '〈'; RIGHT ANGLE BRACKET => LEFT ANGLE BRACKET
300A 1.1 '《' => '》'; LEFT DOUBLE ANGLE BRACKET => RIGHT DOUBLE ANGLE BRACKET
300B 1.1 '》' => '《'; RIGHT DOUBLE ANGLE BRACKET => LEFT DOUBLE ANGLE BRACKET
300C 1.1 '「' => '」'; LEFT CORNER BRACKET => RIGHT CORNER BRACKET
300D 1.1 '」' => '「'; RIGHT CORNER BRACKET => LEFT CORNER BRACKET
300E 1.1 '『' => '』'; LEFT WHITE CORNER BRACKET => RIGHT WHITE CORNER BRACKET
300F 1.1 '』' => '『'; RIGHT WHITE CORNER BRACKET => LEFT WHITE CORNER BRACKET
3010 1.1 '【' => '】'; LEFT BLACK LENTICULAR BRACKET => RIGHT BLACK LENTICULAR BRACKET
3011 1.1 '】' => '【'; RIGHT BLACK LENTICULAR BRACKET => LEFT BLACK LENTICULAR BRACKET
3014 1.1 '〔' => '〕'; LEFT TORTOISE SHELL BRACKET => RIGHT TORTOISE SHELL BRACKET
3015 1.1 '〕' => '〔'; RIGHT TORTOISE SHELL BRACKET => LEFT TORTOISE SHELL BRACKET
3016 1.1 '〖' => '〗'; LEFT WHITE LENTICULAR BRACKET => RIGHT WHITE LENTICULAR BRACKET
3017 1.1 '〗' => '〖'; RIGHT WHITE LENTICULAR BRACKET => LEFT WHITE LENTICULAR BRACKET
3018 1.1 '〘' => '〙'; LEFT WHITE TORTOISE SHELL BRACKET => RIGHT WHITE TORTOISE SHELL BRACKET
3019 1.1 '〙' => '〘'; RIGHT WHITE TORTOISE SHELL BRACKET => LEFT WHITE TORTOISE SHELL BRACKET
301A 1.1 '〚' => '〛'; LEFT WHITE SQUARE BRACKET => RIGHT WHITE SQUARE BRACKET
301B 1.1 '〛' => '〚'; RIGHT WHITE SQUARE BRACKET => LEFT WHITE SQUARE BRACKET
FE59 1.1 '﹙' => '﹚'; SMALL LEFT PARENTHESIS => SMALL RIGHT PARENTHESIS
FE5A 1.1 '﹚' => '﹙'; SMALL RIGHT PARENTHESIS => SMALL LEFT PARENTHESIS
FE5B 1.1 '﹛' => '﹜'; SMALL LEFT CURLY BRACKET => SMALL RIGHT CURLY BRACKET
FE5C 1.1 '﹜' => '﹛'; SMALL RIGHT CURLY BRACKET => SMALL LEFT CURLY BRACKET
FE5D 1.1 '﹝' => '﹞'; SMALL LEFT TORTOISE SHELL BRACKET => SMALL RIGHT TORTOISE SHELL BRACKET
FE5E 1.1 '﹞' => '﹝'; SMALL RIGHT TORTOISE SHELL BRACKET => SMALL LEFT TORTOISE SHELL BRACKET
FF08 1.1 '(' => ')'; FULLWIDTH LEFT PARENTHESIS => FULLWIDTH RIGHT PARENTHESIS
FF09 1.1 ')' => '('; FULLWIDTH RIGHT PARENTHESIS => FULLWIDTH LEFT PARENTHESIS
FF3B 1.1 '[' => ']'; FULLWIDTH LEFT SQUARE BRACKET => FULLWIDTH RIGHT SQUARE BRACKET
FF3D 1.1 ']' => '['; FULLWIDTH RIGHT SQUARE BRACKET => FULLWIDTH LEFT SQUARE BRACKET
FF5B 1.1 '{' => '}'; FULLWIDTH LEFT CURLY BRACKET => FULLWIDTH RIGHT CURLY BRACKET
FF5D 1.1 '}' => '{'; FULLWIDTH RIGHT CURLY BRACKET => FULLWIDTH LEFT CURLY BRACKET
FF5F 3.2 '⦅' => '⦆'; FULLWIDTH LEFT WHITE PARENTHESIS => FULLWIDTH RIGHT WHITE PARENTHESIS
FF60 3.2 '⦆' => '⦅'; FULLWIDTH RIGHT WHITE PARENTHESIS => FULLWIDTH LEFT WHITE PARENTHESIS
FF62 1.1 '「' => '」'; HALFWIDTH LEFT CORNER BRACKET => HALFWIDTH RIGHT CORNER BRACKET
FF63 1.1 '」' => '「'; HALFWIDTH RIGHT CORNER BRACKET => HALFWIDTH LEFT CORNER BRACKET
如果您想拾取像,<
或>
那样的字符,而这些字符并不是正式考虑的分组符号,则可以查看@roeland在此处建议的http://www.unicode.org/Public/UNIDATA/BidiMirroring.txt。该文件列出了所有应该互为镜像的字符对。
这是完整列表:
( ) # { LEFT, RIGHT } PARENTHESIS
< > # { LESS-THAN, GREATER-THAN } SIGN
[ ] # { LEFT, RIGHT } SQUARE BRACKET
{ } # { LEFT, RIGHT } CURLY BRACKET
« » # { LEFT-POINTING, RIGHT-POINTING } DOUBLE ANGLE QUOTATION MARK
༺ ༻ # TIBETAN MARK GUG RTAGS { GYON, GYAS }
༼ ༽ # TIBETAN MARK ANG KHANG { GYON, GYAS }
᚛ ᚜ # OGHAM { , REVERSED } FEATHER MARK
‹ › # SINGLE { LEFT-POINTING, RIGHT-POINTING } ANGLE QUOTATION MARK
⁅ ⁆ # { LEFT, RIGHT } SQUARE BRACKET WITH QUILL
⁽ ⁾ # SUPERSCRIPT { LEFT, RIGHT } PARENTHESIS
₍ ₎ # SUBSCRIPT { LEFT, RIGHT } PARENTHESIS
∈ ∋ # { ELEMENT OF, CONTAINS AS MEMBER }
∉ ∌ # { NOT AN ELEMENT OF, DOES NOT CONTAIN AS MEMBER }
∊ ∍ # SMALL { ELEMENT OF, CONTAINS AS MEMBER }
∼ ∽ # { TILDE OPERATOR, REVERSED TILDE }
≒ ≓ # { APPROXIMATELY EQUAL TO OR THE IMAGE OF, IMAGE OF OR APPROXIMATELY EQUAL TO }
≔ ≕ # { COLON EQUALS, EQUALS COLON }
≤ ≥ # { LESS-THAN, GREATER-THAN } OR EQUAL TO
≦ ≧ # { LESS-THAN, GREATER-THAN } OVER EQUAL TO
≪ ≫ # MUCH { LESS-THAN, GREATER-THAN }
≶ ≷ # { LESS-THAN OR GREATER-THAN, GREATER-THAN OR LESS-THAN }
≺ ≻ # { PRECEDES, SUCCEEDS }
≼ ≽ # { PRECEDES, SUCCEEDS } OR EQUAL TO
⊂ ⊃ # { SUBSET, SUPERSET } OF
⊆ ⊇ # { SUBSET, SUPERSET } OF OR EQUAL TO
⊏ ⊐ # SQUARE { IMAGE, ORIGINAL } OF
⊑ ⊒ # SQUARE { IMAGE, ORIGINAL } OF OR EQUAL TO
⊢ ⊣ # { RIGHT, LEFT } TACK
⊰ ⊱ # { PRECEDES, SUCCEEDS } UNDER RELATION
⊲ ⊳ # { NORMAL SUBGROUP OF, CONTAINS AS NORMAL SUBGROUP }
⊴ ⊵ # { NORMAL SUBGROUP OF, CONTAINS AS NORMAL SUBGROUP } OR EQUAL TO
⊶ ⊷ # { ORIGINAL, IMAGE } OF
⋉ ⋊ # { LEFT, RIGHT } NORMAL FACTOR SEMIDIRECT PRODUCT
⋋ ⋌ # { LEFT, RIGHT } SEMIDIRECT PRODUCT
≃ ⋍ # { ASYMPTOTICALLY EQUAL TO, REVERSED TILDE EQUALS }
⋐ ⋑ # DOUBLE { SUBSET, SUPERSET }
⋖ ⋗ # { LESS-THAN, GREATER-THAN } WITH DOT
⋘ ⋙ # VERY MUCH { LESS-THAN, GREATER-THAN }
⋚ ⋛ # { LESS-THAN EQUAL TO OR GREATER-THAN, GREATER-THAN EQUAL TO OR LESS-THAN }
⋜ ⋝ # EQUAL TO OR { LESS-THAN, GREATER-THAN }
⋞ ⋟ # EQUAL TO OR { PRECEDES, SUCCEEDS }
⋰ ⋱ # { UP, DOWN } RIGHT DIAGONAL ELLIPSIS
⋲ ⋺ # { ELEMENT OF, CONTAINS } WITH LONG HORIZONTAL STROKE
⋳ ⋻ # { ELEMENT OF, CONTAINS } WITH VERTICAL BAR AT END OF HORIZONTAL STROKE
⋴ ⋼ # SMALL { ELEMENT OF, CONTAINS } WITH VERTICAL BAR AT END OF HORIZONTAL STROKE
⋶ ⋽ # { ELEMENT OF, CONTAINS } WITH OVERBAR
⋷ ⋾ # SMALL { ELEMENT OF, CONTAINS } WITH OVERBAR
⌈ ⌉ # { LEFT, RIGHT } CEILING
⌊ ⌋ # { LEFT, RIGHT } FLOOR
〈 〉 # { LEFT-POINTING, RIGHT-POINTING } ANGLE BRACKET
❨ ❩ # MEDIUM { LEFT, RIGHT } PARENTHESIS ORNAMENT
❪ ❫ # MEDIUM FLATTENED { LEFT, RIGHT } PARENTHESIS ORNAMENT
❬ ❭ # MEDIUM { LEFT-POINTING, RIGHT-POINTING } ANGLE BRACKET ORNAMENT
❮ ❯ # HEAVY { LEFT-POINTING, RIGHT-POINTING } ANGLE QUOTATION MARK ORNAMENT
❰ ❱ # HEAVY { LEFT-POINTING, RIGHT-POINTING } ANGLE BRACKET ORNAMENT
❲ ❳ # LIGHT { LEFT, RIGHT } TORTOISE SHELL BRACKET ORNAMENT
❴ ❵ # MEDIUM { LEFT, RIGHT } CURLY BRACKET ORNAMENT
⟃ ⟄ # OPEN { SUBSET, SUPERSET }
⟅ ⟆ # { LEFT, RIGHT } S-SHAPED BAG DELIMITER
⟈ ⟉ # { REVERSE SOLIDUS PRECEDING SUBSET, SUPERSET PRECEDING SOLIDUS }
⟋ ⟍ # MATHEMATICAL { RISING, FALLING } DIAGONAL
⟕ ⟖ # { LEFT, RIGHT } OUTER JOIN
⟝ ⟞ # LONG { RIGHT, LEFT } TACK
⟢ ⟣ # WHITE CONCAVE-SIDED DIAMOND WITH { LEFTWARDS, RIGHTWARDS } TICK
⟤ ⟥ # WHITE SQUARE WITH { LEFTWARDS, RIGHTWARDS } TICK
⟦ ⟧ # MATHEMATICAL { LEFT, RIGHT } WHITE SQUARE BRACKET
⟨ ⟩ # MATHEMATICAL { LEFT, RIGHT } ANGLE BRACKET
⟪ ⟫ # MATHEMATICAL { LEFT, RIGHT } DOUBLE ANGLE BRACKET
⟬ ⟭ # MATHEMATICAL { LEFT, RIGHT } WHITE TORTOISE SHELL BRACKET
⟮ ⟯ # MATHEMATICAL { LEFT, RIGHT } FLATTENED PARENTHESIS
⦃ ⦄ # { LEFT, RIGHT } WHITE CURLY BRACKET
⦅ ⦆ # { LEFT, RIGHT } WHITE PARENTHESIS
⦇ ⦈ # Z NOTATION { LEFT, RIGHT } IMAGE BRACKET
⦉ ⦊ # Z NOTATION { LEFT, RIGHT } BINDING BRACKET
⦋ ⦌ # { LEFT, RIGHT } SQUARE BRACKET WITH UNDERBAR
⦎ ⦏ # { RIGHT, LEFT } SQUARE BRACKET WITH TICK IN BOTTOM CORNER
⦍ ⦐ # { LEFT, RIGHT } SQUARE BRACKET WITH TICK IN TOP CORNER
⦑ ⦒ # { LEFT, RIGHT } ANGLE BRACKET WITH DOT
⦓ ⦔ # { LEFT ARC LESS-THAN, RIGHT ARC GREATER-THAN } BRACKET
⦕ ⦖ # DOUBLE { LEFT ARC GREATER-THAN, RIGHT ARC LESS-THAN } BRACKET
⦗ ⦘ # { LEFT, RIGHT } BLACK TORTOISE SHELL BRACKET
⊘ ⦸ # CIRCLED { DIVISION SLASH, REVERSE SOLIDUS }
⧀ ⧁ # CIRCLED { LESS-THAN, GREATER-THAN }
⧄ ⧅ # SQUARED { RISING, FALLING } DIAGONAL SLASH
⧏ ⧐ # { LEFT TRIANGLE BESIDE VERTICAL BAR, VERTICAL BAR BESIDE RIGHT TRIANGLE }
⧑ ⧒ # BOWTIE WITH { LEFT, RIGHT } HALF BLACK
⧔ ⧕ # TIMES WITH { LEFT, RIGHT } HALF BLACK
⧘ ⧙ # { LEFT, RIGHT } WIGGLY FENCE
⧚ ⧛ # { LEFT, RIGHT } DOUBLE WIGGLY FENCE
∕ ⧵ # { DIVISION SLASH, REVERSE SOLIDUS OPERATOR }
⧸ ⧹ # BIG { , REVERSE } SOLIDUS
⧼ ⧽ # { LEFT-POINTING, RIGHT-POINTING } CURVED ANGLE BRACKET
⨫ ⨬ # MINUS SIGN WITH { FALLING, RISING } DOTS
⨭ ⨮ # PLUS SIGN IN { LEFT, RIGHT } HALF CIRCLE
⨴ ⨵ # MULTIPLICATION SIGN IN { LEFT, RIGHT } HALF CIRCLE
⨼ ⨽ # { , RIGHTHAND } INTERIOR PRODUCT
⩤ ⩥ # Z NOTATION { DOMAIN, RANGE } ANTIRESTRICTION
⩹ ⩺ # { LESS-THAN, GREATER-THAN } WITH CIRCLE INSIDE
⩽ ⩾ # { LESS-THAN, GREATER-THAN } OR SLANTED EQUAL TO
⩿ ⪀ # { LESS-THAN, GREATER-THAN } OR SLANTED EQUAL TO WITH DOT INSIDE
⪁ ⪂ # { LESS-THAN, GREATER-THAN } OR SLANTED EQUAL TO WITH DOT ABOVE
⪃ ⪄ # { LESS-THAN OR SLANTED EQUAL TO WITH DOT ABOVE RIGHT, GREATER-THAN OR SLANTED EQUAL TO WITH DOT ABOVE LEFT }
⪋ ⪌ # { LESS-THAN ABOVE DOUBLE-LINE EQUAL ABOVE GREATER-THAN, GREATER-THAN ABOVE DOUBLE-LINE EQUAL ABOVE LESS-THAN }
⪑ ⪒ # { LESS-THAN ABOVE GREATER-THAN, GREATER-THAN ABOVE LESS-THAN } ABOVE DOUBLE-LINE EQUAL
⪓ ⪔ # { LESS-THAN ABOVE SLANTED EQUAL ABOVE GREATER-THAN, GREATER-THAN ABOVE SLANTED EQUAL ABOVE LESS-THAN } ABOVE SLANTED EQUAL
⪕ ⪖ # SLANTED EQUAL TO OR { LESS-THAN, GREATER-THAN }
⪗ ⪘ # SLANTED EQUAL TO OR { LESS-THAN, GREATER-THAN } WITH DOT INSIDE
⪙ ⪚ # DOUBLE-LINE EQUAL TO OR { LESS-THAN, GREATER-THAN }
⪛ ⪜ # DOUBLE-LINE SLANTED EQUAL TO OR { LESS-THAN, GREATER-THAN }
⪡ ⪢ # DOUBLE NESTED { LESS-THAN, GREATER-THAN }
⪦ ⪧ # { LESS-THAN, GREATER-THAN } CLOSED BY CURVE
⪨ ⪩ # { LESS-THAN, GREATER-THAN } CLOSED BY CURVE ABOVE SLANTED EQUAL
⪪ ⪫ # { SMALLER, LARGER } THAN
⪬ ⪭ # { SMALLER, LARGER } THAN OR EQUAL TO
⪯ ⪰ # { PRECEDES, SUCCEEDS } ABOVE SINGLE-LINE EQUALS SIGN
⪳ ⪴ # { PRECEDES, SUCCEEDS } ABOVE EQUALS SIGN
⪻ ⪼ # DOUBLE { PRECEDES, SUCCEEDS }
⪽ ⪾ # { SUBSET, SUPERSET } WITH DOT
⪿ ⫀ # { SUBSET, SUPERSET } WITH PLUS SIGN BELOW
⫁ ⫂ # { SUBSET, SUPERSET } WITH MULTIPLICATION SIGN BELOW
⫃ ⫄ # { SUBSET, SUPERSET } OF OR EQUAL TO WITH DOT ABOVE
⫅ ⫆ # { SUBSET, SUPERSET } OF ABOVE EQUALS SIGN
⫍ ⫎ # SQUARE { LEFT, RIGHT } OPEN BOX OPERATOR
⫏ ⫐ # CLOSED { SUBSET, SUPERSET }
⫑ ⫒ # CLOSED { SUBSET, SUPERSET } OR EQUAL TO
⫓ ⫔ # { SUBSET ABOVE SUPERSET, SUPERSET ABOVE SUBSET }
⫕ ⫖ # { SUBSET ABOVE SUBSET, SUPERSET ABOVE SUPERSET }
⊦ ⫞ # { ASSERTION, SHORT LEFT TACK }
⊩ ⫣ # { FORCES, DOUBLE VERTICAL BAR LEFT TURNSTILE }
⊨ ⫤ # { TRUE, VERTICAL BAR DOUBLE LEFT TURNSTILE }
⊫ ⫥ # DOUBLE VERTICAL BAR DOUBLE { RIGHT, LEFT } TURNSTILE
⫬ ⫭ # { , REVERSED } DOUBLE STROKE NOT SIGN
⫷ ⫸ # TRIPLE NESTED { LESS-THAN, GREATER-THAN }
⫹ ⫺ # DOUBLE-LINE SLANTED { LESS-THAN, GREATER-THAN } OR EQUAL TO
⸂ ⸃ # { LEFT, RIGHT } SUBSTITUTION BRACKET
⸄ ⸅ # { LEFT, RIGHT } DOTTED SUBSTITUTION BRACKET
⸉ ⸊ # { LEFT, RIGHT } TRANSPOSITION BRACKET
⸌ ⸍ # { LEFT, RIGHT } RAISED OMISSION BRACKET
⸜ ⸝ # { LEFT, RIGHT } LOW PARAPHRASE BRACKET
⸠ ⸡ # { LEFT, RIGHT } VERTICAL BAR WITH QUILL
⸢ ⸣ # TOP { LEFT, RIGHT } HALF BRACKET
⸤ ⸥ # BOTTOM { LEFT, RIGHT } HALF BRACKET
⸦ ⸧ # { LEFT, RIGHT } SIDEWAYS U BRACKET
⸨ ⸩ # { LEFT, RIGHT } DOUBLE PARENTHESIS
〈 〉 # { LEFT, RIGHT } ANGLE BRACKET
《 》 # { LEFT, RIGHT } DOUBLE ANGLE BRACKET
【 】 # { LEFT, RIGHT } BLACK LENTICULAR BRACKET
〔 〕 # { LEFT, RIGHT } TORTOISE SHELL BRACKET
〖 〗 # { LEFT, RIGHT } WHITE LENTICULAR BRACKET
〘 〙 # { LEFT, RIGHT } WHITE TORTOISE SHELL BRACKET
〚 〛 # { LEFT, RIGHT } WHITE SQUARE BRACKET
﹙ ﹚ # SMALL { LEFT, RIGHT } PARENTHESIS
﹛ ﹜ # SMALL { LEFT, RIGHT } CURLY BRACKET
﹝ ﹞ # SMALL { LEFT, RIGHT } TORTOISE SHELL BRACKET
﹤ ﹥ # SMALL { LESS-THAN, GREATER-THAN } SIGN
( ) # FULLWIDTH { LEFT, RIGHT } PARENTHESIS
< > # FULLWIDTH { LESS-THAN, GREATER-THAN } SIGN
[ ] # FULLWIDTH { LEFT, RIGHT } SQUARE BRACKET
{ } # FULLWIDTH { LEFT, RIGHT } CURLY BRACKET
⦅ ⦆ # FULLWIDTH { LEFT, RIGHT } WHITE PARENTHESIS
“类括号”字符的想法或多或少可以通过Ps(标点符号,打开)和Pe(标点符号,关闭)的常规类别(gc)属性值来识别。该类别包含几十个成对的标点符号,大部分不包括引号(类别Pi和Pf)。
在编程中,许多语言都有用于测试字符的通用类别的工具,例如\p{Ps}
在Perl中。
如果只需要一些列表,则可以使用fileformat.info上的Unicode字符类别信息。
通常,搜索Unicode字符的方式取决于您要查找的内容和条件。在许多情况下,一般类别是一个很好的起点。
搜索Unicode字符的好方法是什么?
显然,这取决于您打算做什么。我建立了网站http://write-math.com。在我的单身汉论文期间,我创建了一个符号分类器(现在在本网站的“分类”下),使用户可以绘制符号并获得LaTeX / unicode结果(目前仅支持369个符号)。如果您想排版文档并搜索单个特定字符,这非常好,您可以知道它们的外观/如何调用,但不知道如何使用LaTeX(或用于排版的任何东西)编写它们:
它还具有符号搜索功能。它仍在大量开发中,但此数据库中有1166个符号。
为您的括号:
unicode.xml
(来自http://www.w3.org/2003/entities/2007doc/#source)也值得一试。
http://xahlee.info/comp/unicode_matching_brackets.html
这是一个非常出色且非常全面的网站(包括方括号和其他所有内容),并且看起来它们都使用无衬线Arial来显示它们,因此,如果您可以看到该字符,那么它应该可以在良好的浏览器支持下正常工作。