Hi, Could anyone tell me exactly the meaning/syntax of greedy/non-greedy. Programs like MailWasher and BeyondCompare use a subset of the PERL Regular Expressions. That is why I am asking this. Somehow I have the feeling it has to do with the mathematical "or", but I might be wrong here I am familiar with the mathematical "or": A v B Pronounced as: A or B Meaning in every day language: A or B or both which means A or B or (A and B). Is greedy/non-greedy related to this? Somehow like: one meaning: A or B or both the other meaning: A or B but NOT both. I have to admit that I took here the easy way: asking before I took the time to look deeper at it I'm getting old Unicron maybe?