Created
September 26, 2013 12:26
-
-
Save boughtonp/6713441 to your computer and use it in GitHub Desktop.
Regex to find incorrectly var scoped rc variables in script-syntax CFCs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function\s+\w+\(event,rc,prc\)\s++([^v}]++|v(?!ar\s++rc)|(?<!\n\t)\})*var\s++rc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment