-
Sub-task
-
Resolution: Delivered
-
P4
-
21
-
generic
-
generic
Emoji-related properties introduced in ([JDK-8303018](https://bugs.openjdk.org/browse/JDK-8303018)) can now be used as binary properties in the `java.util.regex.Pattern` class. One can match characters that have Emoji-related properties with the new `\p{IsXXX}` constructs. For example,
```
Pattern.compile("\\p{IsEmoji}").matcher("🉐").matches()
```
returns `true`.
```
Pattern.compile("\\p{IsEmoji}").matcher("🉐").matches()
```
returns `true`.