again problem with re.reserch

sdf wqh-2 at 263.net
Mon Jul 30 23:08:42 EDT 2001


>None
>>>> c = a.search('foo abcd')
>>>> print c
><SRE_Match object at 0x8114a28>
>>>> 
>
****************
 
       then how I can get the exact postion the string in 'foo abcd',
for example ,I want it return a number denote the postion
**********************

__________________________________________

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








More information about the Python-list mailing list