XML matches
by character category and blocks. Category classifies the characters by their
usage indepent to their localization. Where as blocks classifies the characters
by their localization independent of their usage.
A regular expression
must escape a character category. An inclusive character category that
represents any uppercase letter looks like the following.
\p{Lu}
An exclusive category
that represents any character except an uppercase letter looks like the
following:
\P{Lu}
Note: inclusive requires a lowercase 'p', whereas exclusive
requires an uppercase 'P'.
Example
\p{L}
matches a single code point in the
category "letter".\p{N}
matches any kind of numeric
character in any script.
Go
through below link for all uncode character blocks
No comments:
Post a Comment