afragen/github-updater — pull request #5 by GaryJones (2013-09-06 13:15:35+00:00)
Title: Make plugin data regex as flexible as WP core

The updater would only allow zero or more spaces before Version when trying to get the remote version. This PR changes the regex to match the one used on WP `get_file_data()`, which allows zero or more spaces, tabs, asterisks, hashes and at-symbols. This means that plugin file data contained within a DocBlock (therefore starting with a space, an asterisk, then another space before Version), such as found in the [WordPress Plugin Boilerplate](https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/blob/master/plugin-name/plugin-name.php#L18) project, are recognised by the updater.

I've not changed anything in the theme class, but if that has a similar regex, it would make sense to standardise it.