lib/unicode/emoji/generated_native/regex_basic.rb in unicode-emoji-3.8.0 vs lib/unicode/emoji/generated_native/regex_basic.rb in unicode-emoji-4.0.0
- old
+ new
@@ -1,8 +1,8 @@
# This file was generated by a script, please do not edit it by hand.
# See `$ rake generate_constants` and data/generate_constants.rb for more info.
module Unicode
module Emoji
- REGEX_BASIC = /(?!\p{EComp})(?:\p{Emoji}(?<!\p{EPres})️|\p{EPres}(?!︎)️?)/
+ REGEX_BASIC = /(?:(?!\p{EComp})(?:[\p{Emoji}&&\P{EPres}]️|\p{EPres}(?!︎)️?)|[🏻-🏿🦰-🦳])/
end
end