Re: GREP in Akua's "the entries in"
Re: GREP in Akua's "the entries in"
- Subject: Re: GREP in Akua's "the entries in"
- From: "Marc K. Myers" <email@hidden>
- Date: Fri, 06 Jul 2001 09:49:26 -0400
- Organization: [very little]
>
Date: Fri, 06 Jul 2001 00:54:26 -0400
>
From: "Marc K. Myers" <email@hidden>
>
Reply-To: email@hidden
>
Organization: [very little]
>
To: Godot <email@hidden>
>
CC: email@hidden
>
Subject: Re: GREP in Akua's "the entries in"
>
>
Godot wrote:
>
>
>
> > I'm trying to figure out how to format the search string in Akua Sweets'
>
> > "the entries in" command to select all files with an asterisk in their
>
> > names. From the dictionary/documentation, it looked like it should be
>
> > "*/**", wildcard-real asterisk-wild card. That doesn't do it. Does
>
> > anyone know what would? TIA.
>
>
>
> The quick answer: "***"
>
>
>
> The long answer: Although that would seem somewhat logical, the '*' command
>
> already takes the next character as a "literal", making the "/" superfluous.
>
>
>
> You are saying any characters until an asterisk and then any characters
>
> until end-of-line.
>
>
>
> Thus things like "*[abc]*" don't work. It is a low-power-high-speed-68K
>
> assembly match from 1989 :)
>
>
>
> Cheers,
>
> Greg
>
>
Using "***" picks up entries with names containing an asterisk unless
>
the asterisk happens to be in the leading position. I can pick those us
>
with "/**", but I thought that I should have gotten everything with the
>
first search string, as the leading asterisk in the search string
>
represents "zero or more characters" in front of the specific search characters.
How embarrassing! Gregory Lemperle-Kerr, creator of Akua Sweets, tested
this himself and said it worked. I went back and looked at my script
and realized that the items that didn't get picked up were excluded
because they were folders and I had restricted my search to files in
"the entries in" command. Sorry for the confusion.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com"
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[7/6/01 9:48:55 AM]