Dan -- ...and then Dan Boger said... % % On Fri, May 31, 2002 at 08:23:14AM -0500, David T-G wrote: % > Have you tried % > % > [^b][^a][^c][^k][^1]* % > % > to match "zero or more not-one"s? % % can't use that to negate a "1" in the 5th position... "test1" would % match because it would match "0 '1's in the 5th position, followed by a % '1'"... if you get my meaning...
Hmmm... So something like test12345 ==> (t)(e)(s)(t)()12345 then? Yeah, I guess not. % % just occured to me that this won't match "back2" either, since it starts % with a "b"... Yeah, that's another problem that occurred to me after posting. I had the same sort of problem with $alternates; I'd really like to be able to say something like set alternates = "[^(laura*|madi|^quin*)]@justpickone.*" to match everything at a JPO site *except* other family members (yes, I know that this leaves out webmaster and so on, which in fact *is* me but can be thought of as not being me; anyway, it's *supposed* to be a simple example). Despite some (much appreciated!) attempts to come up with a working pattern, we never figured out something that would work. % % -- % Dan Boger % Linux MVP % brainbench.com % HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg28429/pgp00000.pgp
Description: PGP signature
