cc: [email protected]
Subject: Re: Re: [uwin-users] Korn shell patterns
--------


> Right, so if the matching part is everything except "g" itself, why  
> isn't everything except "g" subtracted?
> 
> 

Since the pattern !(g) matches every string except the string g itself,
it matches "string".

The largest substring of string that !(g) matches is string itself.

Therefore string is deleted.

David Korn
[email protected]
_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users

Reply via email to