Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed1.swip.net!newsfeed2.funet.fi!newsfeeds.funet.fi!news.utu.fi!news.cc.tut.fi!not-for-mail From: Anssi Saari Newsgroups: comp.lang.python Subject: Re: How to write this repeat matching? Date: Mon, 07 Jul 2014 18:48:58 +0300 Lines: 12 Message-ID: References: <93a40570-00ed-4507-aa16-221d7e500468@googlegroups.com> <3840e655-b202-4a8d-b432-77c2d3cd58a4@googlegroups.com> NNTP-Posting-Host: coffee.modeemi.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.cc.tut.fi 1404748140 11705 2001:708:310:3430:213:21ff:fe1b:b396 (7 Jul 2014 15:49:00 GMT) X-Complaints-To: abuse@tut.fi NNTP-Posting-Date: Mon, 7 Jul 2014 15:49:00 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:Gd5k3EhADp+3+SrQV6GdSN2RWtI= Xref: csiph.com comp.lang.python:74118 rxjwg98@gmail.com writes: > Because I am new to Python, I may not describe the question clearly. Could you > read the original problem on web: > > https://docs.python.org/2/howto/regex.html > > It says that it gets 'abcb'. Could you explain it to me? Thanks again Actually, it tries to explain how * works in the regular expression engine. Do you feel that's a crucial thing for a beginner to understand about Python? Hopefully your answer is no and you can move on.