Land #3263, updated vars_get msftidy regex by @wvu-r7

bug/bundler_fix
Christian Mehlmauer 2014-04-15 21:53:10 +02:00
commit 56b165d4bd
No known key found for this signature in database
GPG Key ID: BCFF4FA966BC32C7
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ class Msftidy
end
def check_vars_get
test = @source.scan(/send_request_(?:cgi|raw)\s*\(\s*\{\s*['"]uri['"]\s*=>\s*[^=\}]*?\?[^,\}]+/im)
test = @source.scan(/send_request_(?:cgi|raw)\s*\(\s*\{?\s*['"]uri['"]\s*=>\s*[^=})]*?\?[^,})]+/im)
unless test.empty?
test.each { |item|
warn("Please use vars_get in send_request_cgi and send_request_raw: #{item}")