[wp-trac] [WordPress Trac] #15193: get_file_data() regex issue

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 23 19:39:02 UTC 2010


#15193: get_file_data() regex issue
--------------------------+-------------------------------------------------
 Reporter:  scribu        |        Owner:        
     Type:  defect (bug)  |       Status:  closed
 Priority:  lowest        |    Milestone:  3.1   
Component:  Plugins       |      Version:        
 Severity:  trivial       |   Resolution:  fixed 
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------

Comment(by scribu):

 hakre pointed out that '\s' in regexes causes issues on Windows systems
 and we're not interested in matching '\n' or '\r' anyway, so I replaced it
 with ' \t'.

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


More information about the wp-trac mailing list