在 2012年9月26日星期三UTC+8下午3时38分50秒,iMath写道: > I only know the dollar sign ($) will match a pattern from the > > end of a string,but which method does it work with ,re.match() or re.search() > ?
I thought re.match('h.$', 'hbxihi') will match ‘hi’ ,but it does not .so why ? -- http://mail.python.org/mailman/listinfo/python-list