[wp-trac] [WordPress Trac] #31212: oEmbed discovery fails on XHTML head links
WordPress Trac
noreply at wordpress.org
Tue Apr 21 06:47:54 UTC 2015
#31212: oEmbed discovery fails on XHTML head links
--------------------------+-----------------------------
Reporter: cweiske | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: Embeds | Version: 4.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by nacin):
In general, I'd argue that `/U` (PCRE_UNGREEDY) should not be used. It
isn't natural to read a regular expression as if things are un-greedy;
using `?` to make something lazy/reluctant/nongreedy is going to be easier
to understand.
`/U` is also sometimes misread as `/u` which is for UTF-8 (and also should
not be used in many cases).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31212#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list