Skip to content

Commit 23eace7

Browse files
authored
c
1 parent 78cd8d3 commit 23eace7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unicodetools/src/main/java/org/unicode/props/UnicodeProperty.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ private class MyXSymbolTable extends UnicodeSet.XSymbolTable {
952952
@Override
953953
public boolean applyPropertyAlias(
954954
String propertyName, String propertyValue, UnicodeSet result) {
955-
if (propertyName.equals("C") && propertyValue.isEmpty()) {
955+
if ((propertyName.equals("C") || propertyName.equals("c")) && propertyValue.isEmpty()) {
956956
// C matches isc=ISO_Comment, and we are not able to distinguish
957957
// \p{C} (=\p{General_Category=Other}) from \p{C=} (=\p{ISO_Comment=}) here.
958958
// Fall back to ICU, since this symbol table does not implement GC groupings.

0 commit comments

Comments
 (0)