[Tutor] re module
Sunil Tech
sunil.techspk at gmail.com
Tue Aug 19 12:31:57 CEST 2014
Hey thanks Danny Yoo, Chris “Kwpolska” Warrick, D.V.N Sarma
.
I will take all your inputs.
Thanks a lot.
On Fri, Aug 15, 2014 at 3:32 AM, Danny Yoo <dyoo at hashcollision.org> wrote:
> On Thu, Aug 14, 2014 at 8:39 AM, D.V.N.Sarma డి.వి.ఎన్.శర్మ
> <dvnsarma at gmail.com> wrote:
> > I tested it on IDLE. It works.
>
>
> Hi Sarma,
>
>
> Following up on this one. I'm pretty sure that:
>
> print re.search("<span style=\"(.*)\"", stmt).group()
>
> is going to print something, but it almost certainly will not do what
> Sunil wants. See:
>
> https://docs.python.org/2/howto/regex.html#greedy-versus-non-greedy
>
> for why.
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140819/de56ccd2/attachment.html>
More information about the Tutor
mailing list