[wp-trac] [WordPress Trac] #44949: Add support for JSON Schema string pattern to REST API

WordPress Trac noreply at wordpress.org
Sat Sep 22 12:33:18 UTC 2018


#44949: Add support for JSON Schema string pattern to REST API
----------------------------------------+------------------------------
 Reporter:  jason_the_adams             |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  REST API                    |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by birgire):

 Regarding the PCRE/u modifier:

 There exists the {{{_wp_can_use_pcre_u()}}} core function, used in the
 compatible version of {{{mb_substr()}}}.

 In https://core.trac.wordpress.org/ticket/44296#comment:9 I noticed that
 core seems to make {{{PCRE_UTF8}}} checks inconsistently.

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


More information about the wp-trac mailing list