Anonymous avatar Anonymous committed b5339a0

2008-04-05 Steve Youngs <steve@sxemacs.org>;

* google-query.el (google-query-process-results): Fix the regexp
to find the URLs in the output. Google decided to change their
format again.
(google-query-version): Bump to 1.9

Comments (0)

Files changed (2)

+2008-04-05  Steve Youngs  <steve@sxemacs.org>
+
+	* google-query.el (google-query-process-results): Fix the regexp
+	to find the URLs in the output.  Google decided to change their
+	format again.
+	(google-query-version): Bump to 1.9
+
 2008-03-03  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.55 released.
 ;;
 
 ;;; Code:
-(defconst google-query-version 1.8
+(defconst google-query-version 1.9
   "Version number of google-query.el.")
 
 (defun google-query-version (&optional arg)
     (insert results)
     ;; Collect the stuff we want.
     (goto-char (point-max))
-    (while (re-search-backward "<a class=l href=\"\\(.*\\)\">\\(.*\\)</a>" nil t)
+    (while (re-search-backward "<a href=\"\\(.*\\)\" class=l>\\(.*\\)</a>" nil t)
       (setq matches (push (match-string 1) matches)
 	    titles (push (match-string 2) titles)))
     ;; Replace the contents of the buffer with our matches.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.