File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
antlr4/org/evomaster/core/parser
kotlin/org/evomaster/core/search/gene/regex Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -131,11 +131,18 @@ CharacterEscape
131131 // | IdentityEscape
132132 ;
133133
134+ // TODO missing \p escapes
134135fragment PCharacterClassEscapeLabel
135136 : PosixCharacterClassLabel
136137 | UnicodeCategoriesLabel
138+ // | UnicodeScriptsLabel // https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#usc
139+ // | UnicodeBlocksLabel // https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#ubc
140+ // | UnicodeBinaryProperiesLabel // https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#ubpc
141+ // | javalangCharacterClassesLabel // https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#jcc
137142 ;
138143
144+ // TODO missing Unicode categories labels and implementations
145+ // https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#ucc
139146fragment UnicodeCategoriesLabel
140147 : ' Pe'
141148 ;
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ class CharacterClassEscapeRxGene(
8282 // Unicode category character classes (\p{X})
8383 val unicodeCategorySets = mapOf (
8484 " Pe" to stringToListOfCharacterRanges(" )]}" )
85- // more Unicode categories will be added here
85+ // more Unicode categories will be added here in the future
8686 )
8787
8888 // create both normal and negated version for all
You can’t perform that action at this time.
0 commit comments