Regular Expression pattern seems to not work in Adobe Experience Manager filter exclusion rule
<p>I'm using Adobe Experience Manager version 6 and I'm having a difficulty excluding <code>.DS_Store</code> files from my packages. </p>

<p>I modified my <code>META-INF/vault/filter.xml</code> file to exclude the file name pattern:</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;workspaceFilter version="1.0"&gt;
    &lt;filter root="/apps/myapp"&gt;
        &lt;exclude pattern="\.DS_Store"/&gt;
    &lt;/filter&gt;
&lt;/workspaceFilter&gt;
</code></pre>

<p>But when I upload my packages or push them via vlt the <code>.DS_Store</code> file is still included. </p>

<p>I did some experimenting creating a package with a filter and exclusion rule via CRXDE Lite, but it confused me even more. </p>

<p>When I use the original filter with the exclusion rule and check the coverage, the <code>.DS_Store</code> files are still included:</p>

<p><a href="https://i.stack.imgur.com/tlFNv.png" rel="nofollow"><img src="https://i.stack.imgur.com/tlFNv.png" alt="files are not excluded"></a></p>

<p>But when I create <em>this</em> filter with exclusion rule and check the coverage, the <code>.DS_Store</code> files <em>are</em> excluded:</p>

<p><a href="https://i.stack.imgur.com/XZ70Y.png" rel="nofollow"><img src="https://i.stack.imgur.com/XZ70Y.png" alt="files are excluded"></a></p>

<p>Is there a reason why striking the dot in front of DS_Store doesn't work in the exclusion but using a 0 or more pattern does? </p>