regex (?!..) problem

n00m n00m at narod.ru
Mon Oct 5 00:46:01 EDT 2009


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

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



More information about the Python-list mailing list