another newbie question - regex

Jacek Popławski jp at ulgo.koti.com.pl
Mon Dec 25 08:46:41 EST 2000


Sorry, I have another question... 

"." - matches any character
"*" - is 0 or more repetition 

so ".*" - matches everything?

then why:

>>> print re.search(s,".*")
None
>>> print re.match(s,".*")
None

?

-- 
All eyes see the figure of the wizard
As he climbs to the top of the world
No sound, as he falls instead of rising                             "Stargazer"
Time standing still, then there's blood on the sand         - Ronnie James Dio



More information about the Python-list mailing list