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 00:54:26 -0400
- Organization: [very little]
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.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com"
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[7/6/01 12:54:07 AM]