Dan - maybe I'll look at your fancier stuff though all I really need is the simple wildcard functionality (I think) I used to have.
BTW, " '*is'&names 3 " still returns a bunch of names beginning with either "i" or "s", as does " 'is'&names ". On 2/7/07, Dan Bron <[EMAIL PROTECTED]> wrote:
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
-- Devon McCormick ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
