On Wednesday 18 October 2006 19:51, Georg Baum wrote: > I did not know that tha would work. What I used elsewhere was
In python everything that is empty is false, otherwise it is true. The two only obvious exceptions are False and None. :-) > if option != None: This is OK, since you are testing for the value used if no regular expression is found. > but this somehow is a left over from a more complicated expression. That is fair. :-) > Georg -- José Abílio