<?xml version="1.0" encoding="windows-1252"?>
<node id="752465" title="Re: Quickly Find Files with Wildcard?" created="2009-03-22 21:14:22" updated="2009-03-22 21:14:22">
<type id="11">
note</type>
<author id="33341">
Albannach</author>
<data>
<field name="doctext">
I would try using [doc://substr] instead of invoking a full regex since your match string is a constant. 

Secondly, I hope you drop out of your [doc://foreach] loop once the file you want has been found (unless you expect more than one match that is), otherwise you will continue you expensive test for nothing.

Hope this helps!

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-33341"&gt;
&lt;p&gt;--&lt;br&gt;
I'd like to be able to assign to an luser
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
752459</field>
<field name="parent_node">
752459</field>
</data>
</node>
