Devon:

To find names starting with  'foo'  just use  'foo'&names  .  To find names 
containing the substring  'foo'  use  '*foo'&names  .   To find names NOT 
containing the substring 'foo'  , use  '~foo'&names  .   (You can put the 
sigils '*' and '~' anywhere in the pattern.  I prefer them in the front.)

-Dan

PS: A niggle:  'foo*' is not a regex; "wildcard search" would probably be a 
more appropriate term.  In my utility drawer, I have a fancier version of  
names  which supports true regexen.  See  findNames  in:

   http://www.jsoftware.com/svn/DanBron/trunk/startup.yes.ijs

-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to