Re: [Tutor] getting original pattern from regular expression object

2010-04-19 Thread Rich Lovely
On 20 April 2010 03:25, Tino Dai wrote: > If I have: > > import re > a=re.compile('foo') > > is there a way to get the original pattern of foo from the object a? > > Thanks, > Tino > > > ___ > Tutor maillist  -  tu...@python.org > To unsubscribe or chang

[Tutor] getting original pattern from regular expression object

2010-04-19 Thread Tino Dai
If I have: import re a=re.compile('foo') is there a way to get the original pattern of foo from the object a? Thanks, Tino ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tu