[wp-trac] [WordPress Trac] #7486: When looking for rewrite rules matches, change preg_match start/end character from ! to % or #

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 8 19:15:45 GMT 2008


#7486: When looking for rewrite rules matches, change preg_match start/end
character from ! to % or #
-------------------------+--------------------------------------------------
 Reporter:  aesqe        |       Owner:  anonymous           
     Type:  enhancement  |      Status:  new                 
 Priority:  lowest       |   Milestone:  2.9                 
Component:  General      |     Version:                      
 Severity:  trivial      |    Keywords:  regexp rewrite rules
-------------------------+--------------------------------------------------
 In classes.php, around line 100 (lines 104 and 105 in WP 2.6, class WP)
 when trying to find rewrite rule matches, ! (exclamation mark) is used as
 start/end for regexp in the preg_match function. Should be changed to % or
 # to enable use of, for example, (?!) in rules.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7486>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list