Created
November 1, 2015 21:23
-
-
Save incandescentman/cfea4082cb88ea05b633 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
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:39: syntax error, unexpected & | |
| default_config =<<ENDCONFIG | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:39: syntax error, unexpected &, expecting keyword_end | |
| default_config =<<ENDCONFIG | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:41: syntax error, unexpected ':', expecting keyword_end | |
| debug: true | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:43: syntax error, unexpected ':', expecting keyword_end | |
| report: true | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:46: syntax error, unexpected ':', expecting keyword_end | |
| notifications: false | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:49: syntax error, unexpected ':', expecting keyword_end | |
| backup: true | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:52: syntax error, unexpected ':', expecting keyword_end | |
| country_code: US | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:55: syntax error, unexpected ':', expecting keyword_end | |
| inline: false | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:60: syntax error, unexpected ':', expecting keyword_end | |
| prefix_random: true | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:64: syntax error, unexpected ':', expecting keyword_end | |
| include_titles: false | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:68: syntax error, unexpected ':', expecting keyword_end | |
| validate_links: false | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:73: syntax error, unexpected ':', expecting keyword_end | |
| itunes_affiliate: "&at=10l4tL&ct=searchlink" | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:81: syntax error, unexpected ':', expecting keyword_end | |
| amazon_partner: ["brettterpstra-20", "1789", "9325"] | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:101: syntax error, unexpected ':', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:103: syntax error, unexpected ':', expecting keyword_end | |
| btt: http://brettterpstra.com/$term1d/$term2d | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:103: unknown regexp options - brtttrptra | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:104: syntax error, unexpected ':', expecting keyword_end | |
| bts: /search/$term --no-validate_links | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:104: syntax error, unexpected tGVAR, expecting keyword_end | |
| bts: /search/$term --no-validate_links | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:105: syntax error, unexpected ':', expecting keyword_end | |
| md: www.macdrifter.com | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:106: syntax error, unexpected ':', expecting keyword_end | |
| ms: macstories.net | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:107: syntax error, unexpected ':', expecting keyword_end | |
| dd: www.leancrew.com | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:108: syntax error, unexpected ':', expecting keyword_end | |
| spark: macsparky.com | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:109: syntax error, unexpected ':', expecting keyword_end | |
| man: http://man.cx/$term | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:109: unknown regexp option - a | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:110: syntax error, unexpected ':', expecting keyword_end | |
| dev: developer.apple.com | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:111: syntax error, unexpected ':', expecting keyword_end | |
| nq: http://nerdquery.com/?media_... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:111: unknown regexp options - rdqry | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:111: syntax error, unexpected '?' | |
| nq: http://nerdquery.com/?media_only=0&query=$term&... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:111: syntax error, unexpected & | |
| ...h=1&category=-1&catid=&type=and&results=50&a... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:111: syntax error, unexpected keyword_and | |
| ...gory=-1&catid=&type=and&results=50&db=0&... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:118: syntax error, unexpected ':', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:171: syntax error, unexpected '=', expecting => | |
| "bt" => "brettterpstra.com", | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:171: syntax error, unexpected ',', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:172: syntax error, unexpected '=', expecting keyword_end | |
| "md" => "www.macdrifter.com" | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:173: syntax error, unexpected '}', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:236: syntax error, unexpected & | |
| help_text =<<EOHELP | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:236: syntax error, unexpected &, expecting keyword_end | |
| help_text =<<EOHELP | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:237: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' | |
| -- [Available searches] ------------------- | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:271: syntax error, unexpected &, expecting keyword_end | |
| return false unless input && input.length > 0 | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:272: syntax error, unexpected '=', expecting => | |
| parse_arguments(input, {:only_meta => true}) | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:272: syntax error, unexpected '}', expecting keyword_end | |
| parse_arguments(input, {:only_meta => true}) | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:286: syntax error, unexpected &, expecting keyword_end | |
| ...scan(/\]\(/).length == 1 && input.split(/\n/).length... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:383: syntax error, unexpected & | |
| if link_text == '' && link_info =~ /".*?"/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:390: syntax error, unexpected & | |
| if link_info.strip =~ /:$/ && line.strip == match | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:395: syntax error, unexpected &, expecting keyword_end | |
| ...(/^[!\^]\S+/,'').strip.length > 0 | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:418: syntax error, unexpected &, expecting keyword_end | |
| ... link_text.length > 0 && link_text.scan(/\s/).len... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:430: syntax error, unexpected &, expecting ')' | |
| ... elsif (link_text == "" && link_info == "") || is_u... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:435: syntax error, unexpected &, expecting keyword_end | |
| if link_text.length > 0 && link_info == "" | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:472: syntax error, unexpected & | |
| if search_word && valid_search?(search_word[1]) | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:475: syntax error, unexpected & | |
| ... elsif search_word && search_word[1] =~ /^(\S+... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:484: syntax error, unexpected & | |
| ... elsif link_text && link_text.length > 0 ... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:484: syntax error, unexpected &, expecting keyword_end | |
| ... link_text.length > 0 && (link_info.nil? || link_... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:496: syntax error, unexpected '=', expecting => | |
| v = parse_arguments(v, {:no_restore => true}) | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:496: syntax error, unexpected '}', expecting keyword_end | |
| v = parse_arguments(v, {:no_restore => true}) | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:544: syntax error, unexpected &, expecting keyword_end | |
| ... } if search_type && search_terms && ... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:544: syntax error, unexpected &, expecting keyword_end | |
| ... && search_terms && search_terms.length >... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:546: syntax error, unexpected & | |
| if search_type && search_terms | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:553: syntax error, unexpected &, expecting keyword_end | |
| link_text = title if link_text == '' && title | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:686: syntax error, unexpected '=', expecting => | |
| v = parse_arguments(v, {:no_restore => true}) | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:686: syntax error, unexpected '}', expecting keyword_end | |
| v = parse_arguments(v, {:no_restore => true}) | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:734: syntax error, unexpected &, expecting keyword_end | |
| } if type && terms && terms.length > 0 | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:734: syntax error, unexpected &, expecting keyword_end | |
| } if type && terms && terms.length > 0 | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:821: syntax error, unexpected & | |
| if input =~ /--(no-)?#{o}/ && !skip_flags | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:845: syntax error, unexpected &, expecting keyword_end | |
| title = title && cfg['include_titles'] ? ... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:857: syntax error, unexpected & | |
| if @printout && !@clipboard | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:885: syntax error, unexpected &, expecting keyword_end | |
| ... if output.length > 0 && !footnotes.empty? | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:917: syntax error, unexpected &, expecting ')' | |
| ...eturn if (@cfg['inline'] && @originput.split(/\n/).l... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:980: syntax error, unexpected '=', expecting ')' | |
| ...(url.host, url.port, :use_ssl => url.scheme == 'https') {... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:980: syntax error, unexpected ')', expecting keyword_end | |
| ...sl => url.scheme == 'https') {|http| response = http.requ... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:980: syntax error, unexpected '}', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:998: syntax error, unexpected '=', expecting keyword_then or ';' or '\n' | |
| rescue => e | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1097: syntax error, unexpected &, expecting keyword_end | |
| results << {'url' => url, 'title'... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1097: syntax error, unexpected '=', expecting => | |
| ... results << {'url' => url, 'title' => title... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1097: syntax error, unexpected '=', expecting :: or '[' or '.' | |
| ...lt; {'url' => url, 'title' => title, 'date' => date} | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1097: syntax error, unexpected '=', expecting :: or '[' or '.' | |
| ..., 'title' => title, 'date' => date} | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1097: syntax error, unexpected '}', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1110: syntax error, unexpected keyword_end, expecting '}' | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1144: syntax error, unexpected &, expecting '}' | |
| res << {'url' => url, 'date' ... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1144: syntax error, unexpected '=', expecting => | |
| res << {'url' => url, 'date' => date, ... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1144: syntax error, unexpected '=', expecting :: or '[' or '.' | |
| ...< {'url' => url, 'date' => date, 'title' => titl... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1144: syntax error, unexpected '=', expecting :: or '[' or '.' | |
| ...l, 'date' => date, 'title' => title} | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1145: syntax error, unexpected '}', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1166: syntax error, unexpected &, expecting keyword_end | |
| urls << {'url' => json["url"],... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1166: syntax error, unexpected '=', expecting => | |
| urls << {'url' => json["url"], 'title' =&g... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1166: syntax error, unexpected '=', expecting :: or '[' or '.' | |
| ...l' => json["url"], 'title' => json["name"], 'date' =&g... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1166: syntax error, unexpected '=', expecting :: or '[' or '.' | |
| ...e' => json["name"], 'date' => date} | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1166: syntax error, unexpected '}', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1184: syntax error, unexpected '=', expecting ')' | |
| ...(uri.host, uri.port, :use_ssl => true) {|http| | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1184: syntax error, unexpected ')', expecting keyword_end | |
| ... uri.port, :use_ssl => true) {|http| | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1186: syntax error, unexpected '}', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1230: syntax error, unexpected & | |
| if json['resultCount'] && json['resultCount'] > 0 | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1234: syntax error, unexpected &, expecting keyword_end | |
| ... output_url = dev && result['sellerUrl'] ? re... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1236: syntax error, unexpected keyword_when, expecting keyword_end | |
| when /(musicArtist|song|album)/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1248: syntax error, unexpected keyword_when, expecting keyword_end | |
| when /podcast/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1260: warning: else without rescue is useless | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1261: syntax error, unexpected keyword_end, expecting '}' | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1294: syntax error, unexpected '=', expecting ')' | |
| ....hostname, uri.port, :use_ssl => true) {|http| | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1294: syntax error, unexpected ')', expecting keyword_end | |
| ... uri.port, :use_ssl => true) {|http| | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1296: syntax error, unexpected '}', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1332: syntax error, unexpected & | |
| if define && output_url =~ /dictionary/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1357: syntax error, unexpected '=', expecting ')' | |
| ....hostname, uri.port, :use_ssl => true) {|http| | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1357: syntax error, unexpected ')', expecting keyword_end | |
| ... uri.port, :use_ssl => true) {|http| | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1359: syntax error, unexpected '}', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1483: syntax error, unexpected & | |
| if fix && search_terms.downcase != fix.downcase | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1533: syntax error, unexpected & | |
| if url && @cfg['validate_links'] &... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1533: syntax error, unexpected &, expecting keyword_end | |
| ...; @cfg['validate_links'] && !valid_link?(url) &&... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1533: syntax error, unexpected &, expecting keyword_end | |
| ...;& !valid_link?(url) && search_type !~ /^sp(ell)... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1542: syntax error, unexpected keyword_end, expecting '}' | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1576: class definition in method body | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1579: dynamic constant assignment | |
| WSP = /\s+/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1580: dynamic constant assignment | |
| OBJ = /[{\[]/; HEN = /\}/; AEN = /\]/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1580: dynamic constant assignment | |
| OBJ = /[{\[]/; HEN = /\}/; AEN = /\]/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1580: dynamic constant assignment | |
| OBJ = /[{\[]/; HEN = /\}/; AEN = /\]/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1581: dynamic constant assignment | |
| COL = /\s*:\s*/; KEY = /\s*,\s*/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1581: dynamic constant assignment | |
| COL = /\s*:\s*/; KEY = /\s*,\s*/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1582: dynamic constant assignment | |
| NUM = /-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1583: dynamic constant assignment | |
| BOL = /true|false/; NUL = /null/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1583: dynamic constant assignment | |
| BOL = /true|false/; NUL = /null/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1629: syntax error, unexpected &, expecting '}' | |
| repeat_until(AEN) { ary << value; endkey } | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1633: dynamic constant assignment | |
| SPEC = {'b' => "\b", 'f' => "... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1633: syntax error, unexpected '=', expecting => | |
| SPEC = {'b' => "\b", 'f' => "\f", 'n... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1633: syntax error, unexpected ',', expecting keyword_end | |
| SPEC = {'b' => "\b", 'f' => "\f", 'n' => "\... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1633: syntax error, unexpected '=', expecting keyword_end | |
| ... SPEC = {'b' => "\b", 'f' => "\f", 'n' => "\n", 'r... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1633: syntax error, unexpected ',', expecting keyword_end | |
| ...'b' => "\b", 'f' => "\f", 'n' => "\n", 'r' => "\... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1633: syntax error, unexpected '=', expecting keyword_end | |
| ...gt; "\b", 'f' => "\f", 'n' => "\n", 'r' => "\r", 't... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1633: syntax error, unexpected ',', expecting keyword_end | |
| ...'f' => "\f", 'n' => "\n", 'r' => "\r", 't' => "\... | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1633: syntax error, unexpected '=', expecting keyword_end | |
| ...gt; "\f", 'n' => "\n", 'r' => "\r", 't' => "\t"} | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1633: syntax error, unexpected ',', expecting keyword_end | |
| ...'n' => "\n", 'r' => "\r", 't' => "\t"} | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1633: syntax error, unexpected '=', expecting keyword_end | |
| ...gt; "\n", 'r' => "\r", 't' => "\t"} | |
| ... ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1633: syntax error, unexpected '}', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1634: dynamic constant assignment | |
| UNI = 'u'; CODE = /[a-fA-F0-9]{4}/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1634: dynamic constant assignment | |
| UNI = 'u'; CODE = /[a-fA-F0-9]{4}/ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1635: dynamic constant assignment | |
| STR = /"/; STE = '"' | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1635: dynamic constant assignment | |
| STR = /"/; STE = '"' | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1636: dynamic constant assignment | |
| ESC = '\\' | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1643: syntax error, unexpected &, expecting keyword_end | |
| str << (c == UNI ? (s.scan(CODE)... | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1649: syntax error, unexpected &, expecting keyword_end | |
| else str << c | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1669: module definition in method body | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1685: dynamic constant assignment | |
| ESC_MAP = Hash.new {|h,k| k }.update \ | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1686: syntax error, unexpected '=', expecting keyword_end | |
| "\r" => 'r', | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1686: syntax error, unexpected ',', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1687: syntax error, unexpected '=', expecting keyword_end | |
| "\n" => 'n', | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1687: syntax error, unexpected ',', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1688: syntax error, unexpected '=', expecting keyword_end | |
| "\f" => 'f', | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1688: syntax error, unexpected ',', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1689: syntax error, unexpected '=', expecting keyword_end | |
| "\t" => 't', | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1689: syntax error, unexpected ',', expecting keyword_end | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1690: syntax error, unexpected '=', expecting keyword_end | |
| "\b" => 'b' | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1695: syntax error, unexpected tIDENTIFIER, expecting ']' | |
| quote str.gsub(/[\r\n\f\t\b"\\]/) { "\\#{ESC_MAP[$&]}"} | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1695: syntax error, unexpected ']', expecting tSTRING_DEND | |
| quote str.gsub(/[\r\n\f\t\b"\\]/) { "\\#{ESC_MAP[$&]}"} | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1706: unknown type of %string | |
| quote time.strftime(time.utc? ? "%F %T UTC" : "%F %T %z") | |
| ^ | |
| /Users/jay/Dropbox/Apps/ruby/searchlink.rb:1706: syntax error, unexpected end-of-input, expecting tSTRING_DEND | |
| quote time.strftime(time.utc? ? "%F %T UTC" : "%F %T %z") | |
| ^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment