[Tutor] re.compile ??

antonmuhin at rambler.ru antonmuhin at rambler.ru" <antonmuhin@rambler.ru
Wed Apr 23 12:11:03 2003


Hello Anish,

Wednesday, April 23, 2003, 7:27:18 PM, you wrote:

MA> Hello !

MA> I am not getting what should  be the outcome of this line


MA> numberAddedRE = re.compile("(.*)#\d+$")

MA> I tried to read it from /usr/lib/python2.2/re.py
MA> But i am not getting it properly. Please suggest regarding this.

MA> Thanks in advance.

MA> Regards,

MA> Anish MEHTA

Something like any string that ends with # + sequences of digits:
dpwufhuwefbe[#123, etc.

-- 
Best regards,
 anton                            mailto:antonmuhin@rambler.ru