Skip to content

Instantly share code, notes, and snippets.

@smgoller
Created February 10, 2016 22:20
Show Gist options
  • Save smgoller/f08f6819900309471758 to your computer and use it in GitHub Desktop.
Save smgoller/f08f6819900309471758 to your computer and use it in GitHub Desktop.
#This regex looks for $ followed by anything other than { (wrapped variable) and ( (execute command in subshell)
\$(?!\{|\()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment