Skip to content

Instantly share code, notes, and snippets.

@smokinjoe
Created January 31, 2016 04:34
Show Gist options
  • Save smokinjoe/d34e986d7040510a7dd2 to your computer and use it in GitHub Desktop.
Save smokinjoe/d34e986d7040510a7dd2 to your computer and use it in GitHub Desktop.
"month in months track by $index".match(/^\s*(.+)\s+in\s+(.*?)(?:\s+track\s+by\s+(.+?))?\s*$/);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment