[wp-trac] [WordPress Trac] #32125: Emoji script: multiple second execution time when using AngularJS to insert text

WordPress Trac noreply at wordpress.org
Mon May 4 03:26:26 UTC 2015


#32125: Emoji script: multiple second execution time when using AngularJS to insert
text
--------------------------+------------------
 Reporter:  brad989       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.3
Component:  Formatting    |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------

Comment (by azaozz):

 Actually we can probably reduce the second regex to `/[\uDC00-\uDFFF]/`
 (test for the second half of the surrogate pair) as we only need to check
 if there are emoji chars in the string, not match them.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32125#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list