File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
unicodetools/src/main/java/org/unicode/props Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -952,6 +952,13 @@ 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 ()) {
956+ // C matches isc=ISO_Comment, and we are not able to distinguish
957+ // \p{C} (=\p{General_Category=Other}) from \p{C=} (=\p{ISO_Comment=}) here.
958+ // Fall back to ICU, since this symbol table does not implement GC groupings.
959+ // TODO(egg): This symbol table needs to go, see #1073, #1074.
960+ return false ;
961+ }
955962 if (false ) System .out .println (propertyName + "=" + propertyValue );
956963 UnicodeProperty prop = getProperty (propertyName );
957964 if (prop == null ) return false ;
You can’t perform that action at this time.
0 commit comments