problem with re.rearch

sdf wqh-2 at 263.net
Mon Jul 30 21:03:36 EDT 2001


since s=abcd ,then I search 'a' in s
the result must be true 
but why the result is nono

>>> a=re.compile(s)
>>> b=a.search('a')
>>> print b
None
>>> print s
abcd
__________________________________________

DVD´óƬ£¬Ò»ÂÉ10Ôª  http://shopping.263.net/category02.htm
ÃÀÈÝÑøÑÕ¡¢¼õ·ÊÊÝÉíÃؾ÷  http://shopping.263.net/category10.htm








More information about the Python-list mailing list