[wp-trac] [WordPress Trac] #15193: get_file_data() regex issue
WordPress Trac
wp-trac at lists.automattic.com
Sat Nov 6 13:01:32 UTC 2010
#15193: get_file_data() regex issue
--------------------------+-------------------------------------------------
Reporter: scribu | Owner:
Type: defect (bug) | Status: reopened
Priority: lowest | Milestone: 3.1
Component: Plugins | Version:
Severity: trivial | Resolution:
Keywords: has-patch |
--------------------------+-------------------------------------------------
Comment(by scribu):
Sample: 1775 random themes
Result:
{{{
Original Theme Name
Original Theme Name
Theme Name
Theme Name
Theme Name
Theme Name
* Theme Name
* Theme Name
*Theme Name
Theme Name
/* Theme Name
/* Theme Name
/*Theme Name
* Theme Name
/*Theme Name
Theme Name
Theme Name
Theme Name
}}}
The 'Original Theme Name' is a header defined by a 1 or two themes, after
'Theme Name'
Command used:
{{{ack -G 'style\.css' 'Theme Name:' | cut -d ':' -f 3 | sort | uniq}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15193#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list