~ubuntu-branches/ubuntu/wily/jabref/wily-proposed

« back to all changes in this revision

Viewing changes to src/java/net/sf/jabref/imports/GoogleScholarFetcher.java

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2014-02-13 17:21:36 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20140213172136-9n00oos0x0rgs0os
Tags: 2.10~beta3+ds-1
* New upstream release.
* Update years of packaging copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
    final static String SEARCH_URL = URL_START+"/scholar?q="+QUERY_MARKER
43
43
            +"&hl=en&btnG=Search";
44
44
 
45
 
    final static Pattern BIBTEX_LINK_PATTERN = Pattern.compile("<a href=\"([^\"]*)\">[A-Za-z ]*BibTeX");
 
45
    final static Pattern BIBTEX_LINK_PATTERN = Pattern.compile("<a href=\"([^\"]*)\"[^>]*>[A-Za-z ]*BibTeX");
46
46
    final static Pattern TITLE_START_PATTERN = Pattern.compile("<div class=\"gs_ri\">");
47
47
    final static Pattern LINK_PATTERN = Pattern.compile("<h3 class=\"gs_rt\"><a href=\"([^\"]*)\">");
48
48
    final static Pattern TITLE_END_PATTERN = Pattern.compile("<div class=\"gs_fl\">");