emoji_regex 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2ef53a0e23ebbddaa7f9f674baad6c71dd0780fc1cb1f51a7b4786518ec1053
|
4
|
+
data.tar.gz: be78ebe81916cb530fa0db1c1250b840bbff2fb41a7b81a4b2af0f9ee96185d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18b6c55941b0f8bce28cf7870ad872726b8263d83c2cbc73e158d364006990cfabf06d068875ee84d14c4809dde6aae7cb1d55774b121cf2ea94a3cd08d1b0cc
|
7
|
+
data.tar.gz: e30349147d67a4e4ac7f63ef38e1ab4ecd9dfdc956dc491da10958fc61563a59f8ab0aab41c80f7f3f822c3c0aa7f6f877f0907a0d7323f189975250b39b4bd4
|
data/README.md
CHANGED
@@ -20,9 +20,9 @@ gem install emoji_regex
|
|
20
20
|
|
21
21
|
`emoji_regex` provides three regular expressions:
|
22
22
|
|
23
|
-
* `EmojiRegex::
|
23
|
+
* `EmojiRegex::RGIEmoji` is the regex you most likely want. It matches all emoji recommended for general interchange, as defined by [the Unicode standard's `RGI_Emoji` property](https://unicode.org/reports/tr51/#def_rgi_set).
|
24
24
|
|
25
|
-
* `EmojiRegex::Regex` is deprecated, and will be replaced by `
|
25
|
+
* `EmojiRegex::Regex` is deprecated, and will be replaced by `RGIEmoji` in a future major version. It matches emoji which present as emoji by default, and those which present as emoji when combined with `U+FE0F VARIATION SELECTOR-16`.
|
26
26
|
|
27
27
|
* `EmojiRegex::Text` matches emoji which present as text by default (regardless of variation selector), as well as those which present as emoji by default.
|
28
28
|
|
@@ -40,7 +40,7 @@ These characters, therefore, are matched to varying degrees of precision by each
|
|
40
40
|
- `#️` is matched by `EmojiRegex::Regex` as well as `EmojiRegex::Text` as it has `Emoji_Presentation` despite not being a generally accepted Emoji or recommended for general interchange.
|
41
41
|
- `#️⃣` is matched by all three regular expressions, as it is recommended for general interchange.
|
42
42
|
|
43
|
-
It's most likely that the regular expression you want is `EmojiRegex::
|
43
|
+
It's most likely that the regular expression you want is `EmojiRegex::RGIEmoji`! ☺️
|
44
44
|
|
45
45
|
### Example
|
46
46
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emoji_regex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jessica Stokes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|