[OT] a little about regex

Fredrik Lundh fredrik at pythonware.com
Wed Oct 18 09:17:02 CEST 2006


Fulvio wrote:

> ...     if deny.search(adr): cnt += 1
> ...     if allow.search(adr): cnt += 1

hint: under what circumstances are "cnt" decremented in the above snippet?

</F>




More information about the Python-list mailing list