【发布时间】:2021-03-24 04:02:01
【问题描述】:
我正在尝试验证依赖项是否可以使用称为 Immutable identifier:http://www.unicode.org/reports/tr31/#Immutable_Identifier_Syntax 的特定 unicode 字符
“不可变标识符”字符的定义是
Immutable Identifiers: To meet this requirement, an implementation shall define identifiers to be any non-empty string of characters that contains no character having any of the following property values:
Pattern_White_Space=True
Pattern_Syntax=True
General_Category=Private_Use, Surrogate, or Control
Noncharacter_Code_Point=True
我能够找出https://docs.oracle.com/javase/7/docs/api/java/lang/Character.html 中的Surrogate、PRIVATE_USE 和Control 字符,但找不到其余字符。
这个 Unicode 文档对我来说也有点复杂,所以我无法理解它并找到了那些“不可变标识符”字符的代码点范围 :(。任何有上下文的人都可以发光吗?
【问题讨论】:
-
就目前而言,您的问题含糊不清。您能否对其进行更新以准确说明您需要帮助的内容?另外,请向我们展示您迄今为止为识别不可变字符所做的工作。如果您的问题中没有任何代码,则更有可能被否决和/或关闭。