# File lib/puppet/provider/ssh_authorized_key/parsed.rb, line 78 78: def self.parse_options(options) 79: result = [] 80: scanner = StringScanner.new(options) 81: while !scanner.eos? 82: scanner.skip(/[ \t]*/) 83: # scan a long option 84: if out = scanner.scan(/[-a-z0-9A-Z_]+=\".*?\"/) or out = scanner.scan(/[-a-z0-9A-Z_]+/) 85: result << out 86: else 87: # found an unscannable token, let's abort 88: break 89: end 90: # eat a comma 91: scanner.skip(/[ \t]*,[ \t]*/) 92: end 93: result 94: end