lib/unicode/emoji/generated_native/regex_text.rb in unicode-emoji-3.8.0 vs lib/unicode/emoji/generated_native/regex_text.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_TEXT = /(?:(?!\p{EComp})(?:\p{Emoji}(?<!\p{EPres})(?!(?:\p{EMod}|️))︎?|\p{EPres}︎)|[\#\*0-9]⃣)/ + REGEX_TEXT = /(?:(?!\p{EComp})(?:[\p{Emoji}&&\P{EPres}](?!(?:\p{EMod}|️))︎?|\p{EPres}︎)|[\#\*0-9]⃣)/ end end