Skip to content

Instantly share code, notes, and snippets.

@kahirul
Created December 18, 2014 05:18
Show Gist options
  • Save kahirul/049b944a4c0cd2a504db to your computer and use it in GitHub Desktop.
Save kahirul/049b944a4c0cd2a504db to your computer and use it in GitHub Desktop.
Regex to find call for rendering partial with dash in file name, e.g. render "some-partial"
/render\s+["'a-z]+\/[a-z]+\-[a-z]+/i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment