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

WordPress Trac noreply at wordpress.org
Thu Oct 16 19:55:38 UTC 2014


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

Comment (by miqrogroove):

 It makes more sense after reading comment 13.  Regex is such a pain
 sometimes.

 I'm wondering if this is going to be worth the effort though.

 Cases like this wouldn't really work as expected with or without the
 patch:

 {{{
 value="hello class='world alignright" class="alignnone"
 }}}

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


More information about the wp-trac mailing list