Created
June 21, 2016 10:50
-
-
Save relrod/ce2a16cd60d53bd533ef23c5e73cf61f to your computer and use it in GitHub Desktop.
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
if (((m/^\s*(?:'[^']*?'|"[^"]*?"|[^"'#]*?)*?([^"'#<@])<<(\w+)\s*/ && | |
($2 !~ m/^\d+$/)) || | |
m/^\s*(?:'[^']*?'|"[^"]*?"|[^"'#]*?)*?[^"'#<@]<<\s*(["'`])(.+?|)\1\s*/ | |
) && | |
! m/q[qxwr]?\s*[{([#|!\/][^})\]#|!\/]*?<<[^<]/ | |
) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment