1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add documentation for regexp emoji named character property

This commit is contained in:
Max Leopold 2022-02-03 18:22:04 +01:00 committed by Nobuyoshi Nakada
parent 9fab2c1a1a
commit 203b1fc7e2
Notes: git 2022-02-04 08:27:10 +09:00

View file

@ -405,6 +405,7 @@ much like POSIX bracket classes.
* <tt>/\p{Blank}/</tt> - Space or tab
* <tt>/\p{Cntrl}/</tt> - Control character
* <tt>/\p{Digit}/</tt> - Digit
* <tt>/\p{Emoji}/</tt> - Unicode emoji
* <tt>/\p{Graph}/</tt> - Non-blank character (excludes spaces, control
characters, and similar)
* <tt>/\p{Lower}/</tt> - Lowercase alphabetical character