<p dir="auto">Pattern comprehension now supports</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RETURN [(a)--&gt;(b)--&gt;(c) WHERE b:Movie | [b.year,c.prop1] ] AS myColl"><pre class="notranslate"><code class="notranslate">RETURN [(a)--&gt;(b)--&gt;(c) WHERE b:Movie | [b.year,c.prop1] ] AS myColl
</code></pre></div>
<p dir="auto">but is does not support</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RETURN [(a)--&gt;(b)--&gt;(c),(b)--&gt;(d) WHERE b:Movie | [b.year,c.prop1,d.prop2] ] AS myColl"><pre class="notranslate"><code class="notranslate">RETURN [(a)--&gt;(b)--&gt;(c),(b)--&gt;(d) WHERE b:Movie | [b.year,c.prop1,d.prop2] ] AS myColl
</code></pre></div>
<h2 dir="auto">Regex Failure for neo4j-admin</h2>
<p dir="auto">Regex not detecting files along path, even though regex has successfully been tested on an online regex platform, as well as in Python. I have tried this regex with, and without double-quotes, and confirmed the path it's intended to represent is valid by successfully ingesting from the full-path.</p>
<ul dir="auto">
<li>Neo4j version: 4.4.12</li>
<li>Operating system: Ubuntu 20.04</li>
<li>API/Driver: Neo4j-admin import</li>
<li>Steps to reproduce:</li>
</ul>
<ol dir="auto">
<li>Place multiple .tsv files with headers in a path like this (spread across multiple date sub-directories):<br>
-<code class="notranslate"> /media/user/ext4_ssd/tsvs/entities/authors/2022-12-23/authors_xxx.tsv</code></li>
<li>Execute the following command:
<ul dir="auto">
<li><code class="notranslate">./neo4j-admin import --high-io=true --database=zero --skip-duplicate-nodes --ignore-empty-strings=true --verbose --delimiter='\t' --nodes=authors=/media/user/ext4_ssd/tsvs/entities/.*authors.*.tsv</code></li>
</ul>
</li>
</ol>
<ul dir="auto">
<li>Expected behavior
<ul dir="auto">
<li>ingest all the .tsv files in the dated directory ending with xxx.tsv</li>
</ul>
</li>
<li>Actual behavior
<ul dir="auto">
<li><code class="notranslate">Invalid value for option '--nodes' at index 0 ([&lt;label&gt;[:&lt;label&gt;]...=]&lt;files&gt;): Invalid nodes file: authors=/media/suciokhan/ext4_ssd/extracted_tsvs_mini/entities/.*authors.*.tsv (java.lang.IllegalArgumentException: File '/media/suciokhan/ext4_ssd/extracted_tsvs_mini/entities/.*authors.*.tsv' doesn't exist)</code></li>
</ul>
</li>
</ul>
<p dir="auto">I have attempted this both with/without quoting (single and double) the regex path, as well as replacing "nodes=authors=/path" with "nodes /path", to reflect the example given in the 4.4 operations manual (<a href="https://neo4j.com/docs/operations-manual/current/tools/neo4j-admin/neo4j-admin-import/#import-tool-multiple-input-files-regex-example" rel="nofollow">https://neo4j.com/docs/operations-manual/current/tools/neo4j-admin/neo4j-admin-import/#import-tool-multiple-input-files-regex-example</a>).</p>
<p dir="auto">Link to similar (closed) issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="724594482" data-permission-text="Title is private" data-url="https://github.com/neo4j/neo4j/issues/12610" data-hovercard-type="issue" data-hovercard-url="/neo4j/neo4j/issues/12610/hovercard" href="https://github.com/neo4j/neo4j/issues/12610">#12610</a></p>