what is \s+ and \S+ means in re.compile?

sam sam.wun at authtec.com
Sun Mar 20 09:59:31 EST 2005


Hi,

I was confused by \s+ and \S+ in python.
The second one (\S+) is stand for matching all alphabets except for 
digit and space? How about the first one?

Thanks
Sam



More information about the Python-list mailing list