title: Is it possible to match an intent-filter's pathPattern in a case insensitive way?
body: <p>We have an android application that can open certain types of files.  I have declared an intent filter in the AndroidManifest.xml file for each one like so (sample extension: ext):</p>
  
  <pre><code>        &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.VIEW" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
  
              &lt;data android:scheme="file" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.ext"/&gt;
  
          &lt;/intent-filter&gt;
  </code></pre>
  
  <p>Everything is fine when opening files such as <code>myFile.ext</code>, however if a file was named <code>myFile.EXT</code> or <code>myFile.ExT</code>, etc the intent-filter does not seem to pick it up.  Aside from enumerating all possible capitalization permutations in the intent filter is there a way to specify a case insensitive match?</p>
  
  <p>The docs <a href="http://developer.android.com/guide/topics/manifest/data-element.html" rel="nofollow">here</a> mention other attributes of the data element are case sensitive but make no mention of it for pathPattern.  I tried adding the java instruction for case insensitive regex to the pattern which resulted in <code>"(?i).*\\.ext"</code> and OR'ing multile together like <code>".*\\.ext|.*\\.EXT"</code> but that did not seem to work either.</p>
  
  <p>I would appreciate any help or suggestions.</p>
  
  <p>Thanks!</p>