Skip to content

Instantly share code, notes, and snippets.

@coneybeare
Created October 30, 2009 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coneybeare/222142 to your computer and use it in GitHub Desktop.
Save coneybeare/222142 to your computer and use it in GitHub Desktop.
^\s* (\w+) \s* \- \s* (\w+) \s* (?# the range [1,2])
(\+)? (?# the application may have a + in front of the name [3])
([^\s]+) (?# bundle name [4])
\s* \w+ \s* (?# the versions--generally "??? [???]")
\<?([[:xdigit:]]{32})?\>? (?# possible UUID [5])
\s* (\/.*)\s*$ (?# first fwdslash to end we hope is path [6])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment