title: Regex in Jsoup works in java project, not in Android project
body: <p>I'm trying to get the thumbnails URL from a web-site using Jsoup HTML Parser
  i need to extract all the URL's that ends with  60x60.jpg(or png)   (all thumbnails URL's ends with this URL)</p>
  
  <p>The problem is that i get it to work in an ordinary Java Project,  but in Android it doesn't work. (regex problem)</p>
  
  <p>This code works in Java Project:</p>
  
  <pre><code>List&lt;String&gt; urls = new ArrayList&lt;String&gt;();
  Document doc = Jsoup.connect("http://example.com").get();
  Elements pngs = doc.select("img[src~=(60x60).(png|jpg)]"); 
  for (Element img : pngs) {
          String url = img.absUrl("src");
          {
              if (!urls.contains(url)) {
                  urls.add(url);
              }
          }
      }
  </code></pre>
  
  <p>and then print the urls array..  it works in Java, not in Android project.</p>
  
  <p>In Android the only regex that <strong>works</strong> is only this</p>
  
  <pre><code>Elements pngs = doc.select("img[src$=.jpg]");
  </code></pre>
  
  <p>it works ok on Android.. though i don't need all the links ending with .jpg</p>
  
  <p>I tried using</p>
  
  <pre><code>Elements pngs = doc.select("img[src~=(60x60)\\.(png|jpg)]");
  </code></pre>
  
  <p>still not good, even with one slash before .(png|jpg)</p>
  
  <p>so is the problem in Regex? it works different in Android or what?  it can't be the parser problem since it works  on a normal Java Project..</p>