[wp-trac] [WordPress Trac] #24225: Improve regular expressions when matching attributes

WordPress Trac noreply at wordpress.org
Fri May 10 20:10:20 UTC 2013


#24225: Improve regular expressions when matching attributes
-------------------------+--------------------
 Reporter:  kovshenin    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.6
Component:  General      |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+--------------------

Comment (by kovshenin):

 Refreshed in [attachment:24225.3.diff]:
 * Remove extra slashes in backreferences - not needed since we're using
 single quotes
 * Use the original regex in wp-admin/includes/media.php, it's trickier
 than I thought - can't use backreferences in character classes

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24225#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list