regex (?!..) problem

n00m n00m at narod.ru
Mon Oct 5 06:46:01 CEST 2009


Why not check it simply by "count()"?

>>> s = '1234C156789'
>>> s.count('C1')
1
>>>



More information about the Python-list mailing list