/[packages]/cauldron/audex/current/SOURCES/google_regex.patch
ViewVC logotype

Contents of /cauldron/audex/current/SOURCES/google_regex.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 3 months ago) by pterjan
File size: 642 byte(s)
oops
1 --- audex-0.74b1/utils/coverfetcher.cpp 2011-01-15 12:06:25.000000000 +0100
2 +++ audex-0.74b1/utils/coverfetcher_new.cpp 2011-07-20 18:43:37.554588883 +0200
3 @@ -162,7 +162,10 @@
4 cover_tbnids.clear();
5 cover_thumbnails.clear();
6
7 - QRegExp rx("<a\\shref=(\\/imgres\\?imgurl=[a-zA-Z0-9\\&\\_\\%\\/\\=\\.\\:\\-\\?]+)>[\\s\\n]*<img\\ssrc=([a-zA-Z0-9\\&\\_\\%\\/\\=\\.\\:\\-\\?]+).*>[\\s\\n]*</a>");
8 + QRegExp rx("<a\\shref=\"(\\/imgres\\?imgurl=[^\"]+)\">[\\s\\n]*<img[^>]+src=\"([^>]+)\"></a>");
9 + QString html = xml;
10 + html.replace( QLatin1String("&amp;"), QLatin1String("&") );
11 +
12 rx.setMinimal(TRUE);
13
14 int pos = 0; int i = 0;

  ViewVC Help
Powered by ViewVC 1.1.30