[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shortcut Google search result snooping
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Mon, 23 Apr 2012 08:35:38 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 11821
- References: <b4mbomqhssd.fsf@xxxxxxx> <87obqmrl79.fsf@xxxxxxxxxxx>
In [emacs-w3m : No.11820] jidanni@xxxxxxxxxxx wrote:
> The regexp needs refining, else some URLs with +'s in them will be cut
> off, like the first result of
> for which one needs to visit the 庫存 page.
Thanks for pointing it out. That is not due to the regexp in question.
In a search result Google encodes some special characters like "+" and
"?" to "%2B" and "%3F" in a real url, so we need to decode them. Try
replacing the line
in your "Google Analytics tracking" filter with:
(concat (match-string 1) (match-string 2) "\">")
(delete-region (match-beginning 0) (match-end 0)))))))
I've done it in CVS.