Collation of various character sets in Perl Regular Expressions

Source: Internet
Author: User
Utf8

[Copy to clipboard] [-]

Code:

[/X01-/x7f] | [/xc0-/xdf] [/X80-/xbf] | [/xe0-/XeF] [/X80-/xbf] {2} | [/xf0-/xFF] [/X80-/xbf] {3}

UTF16

[Copy to clipboard] [-]

Code:

[/X00-/xd7] [/xe0-/xFF] | [/xd8-/xdf] [/x00-/xFF] {2}

JIS

[Copy to clipboard] [-]

Code:

[/X20-/x7e] | [/X21-/x5f] | [/X21-/x7e] {2}

Sjis

[Copy to clipboard] [-]

Code:

[/X20-/x7e] | [/xA1-/xdf] | ([/x81-/x9f] | [/xe0-/XeF]) ([/X40-/x7e] | [/X80-/xfc])

Euc_jp

[Copy to clipboard] [-]

Code:

[/X20-/x7e] |/x81 [/xA1-/xdf] | [/xA1-/xfe] [/xA1-/xfe] |/x8f [/xA1 -/ xfe] {2}

Euc_jp punctuation marks and special characters

[Copy to clipboard] [-]

Code:

[/XA1-/xa2] [/xa0-/xfe]

Euc_jp full-angle number

[Copy to clipboard] [-]

Code:

/Xa3 [/xb0-/xb9]

Euc_jp full-width uppercase English

[Copy to clipboard] [-]

Code:

/Xa3 [/xc1-/xda]

Euc_jp full-width lowercase English

[Copy to clipboard] [-]

Code:

/Xa3 [/xe1-/xfa]

Euc_jp fullwidth hirakana

[Copy to clipboard] [-]

Code:

/Xa4 [/xA1-/xf3]

Euc_jp full-angle katakana update

[Copy to clipboard] [-]

Code:

/Xa3 [/xb0-/xb9] |/xa3 [/xc1-/xda] |/xa5 [/xA1-/xf6] [/xa3] [/xb0-/xfa] | [/xA1] [/xbc-/xbe] | [/xA1] [/xdd]

Euc_jp fullwidth Chinese characters update

[Copy to clipboard] [-]

Code:

[/Xb0-/xcf] [/xa0-/xD3] | [/xd0-/xf4] [/xa0-/xfe] | [/xb0-/xf3] [/xA1 -/xfe] | [/xf4] [/xA1-/xA6] | [/Xa4] [/xA1-/xf3] | [/xa5] [/xA1-/xf6] | [/xA1] [/xbc-/xbe]

Big5

[Copy to clipboard] [-]

Code:

[/X01-/x7f] | [/x81-/xfe] ([/X40-/x7e] | [/xA1-/xfe])

GBK

[Copy to clipboard] [-]

Code:

[/X01-/x7f] | [/x81-/xfe] [/X40-/xfe]

Gb2312 Chinese Characters

[Copy to clipboard] [-]

Code:

[/Xb0-/xf7] [/xa0-/xfe]

Gb2312 halfwidth punctuation marks and special symbols

[Copy to clipboard] [-]

Code:

/XA1 [/xa2-/xfe]

Gb2312 Rome array and Project No.

[Copy to clipboard] [-]

Code:

/Xa2 ([/xA1-/xAA] | [/xb1-/xbf] | [/xc0-/xdf] | [/xe0-/xe2] | [/xe5 -/ xee] | [/xf1-/xfc])

Gb2312 fullwidth punctuation and fullwidth letters

[Copy to clipboard] [-]

Code:

/Xa3 [/xA1-/xfe]

Gb2312 Japanese hirakana

[Copy to clipboard] [-]

Code:

/Xa4 [/xA1-/xf3]

Gb2312 Japanese Katakana

[Copy to clipboard] [-]

Code:

/Xa5 [/xA1-/xf6]

Charge:
Gb18030

[Copy to clipboard] [-]

Code:

[/X00-/x7f] | [/x81-/xfe] [/X40-/xfe] | [/x81-/xfe] [/x30-/x39] [/x81 -/xfe] [/x30-/x39]

Supplement:
Japanese half-width Space

[Copy to clipboard] [-]

Code:

/X20

Sjis fullwidth Space

[Copy to clipboard] [-]

Code:

(? :/X81/x81)

Sjis fullwidth number

[Copy to clipboard] [-]

Code:

(? :/X82 [/x4f-/x58])

Sjis in uppercase

[Copy to clipboard] [-]

Code:

(? :/X82 [/X60-/x79])

Sjis all lowercase English

[Copy to clipboard] [-]

Code:

(? :/X82 [/x81-/x9a])

Sjis fullwidth hirakana

[Copy to clipboard] [-]

Code:

(? :/X82 [/x9f-/xf1])

Sjis fullwidth hirakana Extension

[Copy to clipboard] [-]

Code:

(? :/X82 [/x9f-/xf1] |/x81 [/x4a/x4b/x54/x55])

Sjis fullwidth katakana

[Copy to clipboard] [-]

Code:

(? :/X83 [/X40-/x96])

Sjis full-angle katakana Extension

[Copy to clipboard] [-]

Code:

(? :/X83 [/X40-/x96] |/x81 [/x45/x5b/X52/x53])

Euc_jp fullwidth Space

[Copy to clipboard] [-]

Code:

(? :/XA1/xA1)

EUC halfwidth katakana

[Copy to clipboard] [-]

Code:

(? :/X8e [/xA6-/xdf])
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.