Skip to content

Instantly share code, notes, and snippets.

@rbo
Created February 19, 2011 12:03
Show Gist options
  • Save rbo/835031 to your computer and use it in GitHub Desktop.
Save rbo/835031 to your computer and use it in GitHub Desktop.
Make foo::bar to a valid sub name...
diff Perl.tmLanguage Perl.tmLanguage.orignal
970c970
< <string>^\s*(sub)\s+([-a-zA-Z0-9_:]+)\s*(\([\$\@\*;]*\))?</string>
---
> <string>^\s*(sub)\s+([-a-zA-Z0-9_]+)\s*(\([\$\@\*;]*\))?</string>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment