| 
														
															@@ -54,7 +54,7 @@ module Blazer 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     def extract_vars(statement) 
														 | 
														
														 | 
														
															     def extract_vars(statement) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       # strip commented out lines 
														 | 
														
														 | 
														
															       # strip commented out lines 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       # and regex {1} or {1,2} 
														 | 
														
														 | 
														
															       # and regex {1} or {1,2} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      statement.gsub(/\-\-.+/, "").gsub(/\/\*.+\*\//m, "").scan(/\{\w*?\}/i).map { |v| v[1...-1] }.reject { |v| /\A\d+(\,\d+)?\z/.match(v) }.uniq 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      statement.gsub(/\-\-.+/, "").gsub(/\/\*.+\*\//m, "").scan(/\{\w*?\}/i).map { |v| v[1...-1] }.reject { |v| /\A\d+(\,\d+)?\z/.match(v) || v.empty? }.uniq 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     end 
														 | 
														
														 | 
														
															     end 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     helper_method :extract_vars 
														 | 
														
														 | 
														
															     helper_method :extract_vars 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 |