[wp-trac] [WordPress Trac] #15193: get_file_data() regex issue
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 22 12:47:14 UTC 2010
#15193: get_file_data() regex issue
--------------------------+-------------------------------------------------
Reporter: scribu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Plugins | Version:
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by filosofo):
I've seen a number of plugins with whitespace before each header, as Denis
mentions.
If you want to avoid the double colon of a static method, why not use a
negative lookahead instead?
`:(?!:)(.*)`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15193#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list