[wp-trac] [WordPress Trac] #35293: Emoji Regex in wp_encode_emoji() is wildly inaccurate
WordPress Trac
noreply at wordpress.org
Thu Aug 3 05:24:09 UTC 2017
#35293: Emoji Regex in wp_encode_emoji() is wildly inaccurate
--------------------------+-----------------------
Reporter: pento | Owner: pento
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.9
Component: Emoji | Version: 4.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+-----------------------
Comment (by pento):
== Test 7.2
Add a very loose regex match, for ranges of characters that contain emoji.
If something matches in these ranges, there might be emoji to process. If
nothing matches, there are definitely no emoji.
'''Data''': https://travis-ci.org/pento/test-41501/builds/260469301
'''Analysis''':
- Some small performance improvements, but nothing significant. Mostly
still slower than Test 6.1.
'''Conclusion''': There are some other options to explore here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35293#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list