Re: [Tutor] Regular Expresions instances

2009-04-29 Thread Emilio Casbas
; Asunto: Re: [Tutor] Regular Expresions instances > > On Tue, Apr 28, 2009 at 7:24 PM, Emile van Sebille wrote: > > Emile van Sebille wrote: > > > Possibly a case of the documentation not keeping up with the release... > > It's pretty easy to file a bug report

Re: [Tutor] Regular Expresions instances

2009-04-29 Thread Kent Johnson
On Tue, Apr 28, 2009 at 7:24 PM, Emile van Sebille wrote: > Emile van Sebille wrote: > Possibly a case of the documentation not keeping up with the release... It's pretty easy to file a bug report against the docs. Minor fixes like this are often incorporated fairly quickly. See http://docs.pyth

Re: [Tutor] Regular Expresions instances

2009-04-29 Thread spir
Le Tue, 28 Apr 2009 22:51:09 + (GMT), Emilio Casbas s'exprima ainsi: > > Hi, > > following the example from > http://docs.python.org/3.0/howto/regex.html > > If I execute the following code on the python shell (3.1a1): > > >>> import re > >>> p = re.compile('ab*') > >>> p > > I get the m

Re: [Tutor] Regular Expresions instances

2009-04-28 Thread Emile van Sebille
Emile van Sebille wrote: Emilio Casbas wrote: Hi, following the example from http://docs.python.org/3.0/howto/regex.html ...from version 3.0 docs... If I execute the following code on the python shell (3.1a1): import re p = re.compile('ab*') p I get the msg: <_sre.SRE_Pattern object at

Re: [Tutor] Regular Expresions instances

2009-04-28 Thread Emile van Sebille
Emilio Casbas wrote: Hi, following the example from http://docs.python.org/3.0/howto/regex.html ...from version 3.0 docs... If I execute the following code on the python shell (3.1a1): import re p = re.compile('ab*') p I get the msg: <_sre.SRE_Pattern object at 0x013A3440> ... is the

[Tutor] Regular Expresions instances

2009-04-28 Thread Emilio Casbas
Hi, following the example from http://docs.python.org/3.0/howto/regex.html If I execute the following code on the python shell (3.1a1): >>> import re >>> p = re.compile('ab*') >>> p I get the msg: <_sre.SRE_Pattern object at 0x013A3440> instead of the msg from the example: Why I get an SRE_