regular expressions.

Atul. atulskulkarni at gmail.com
Fri Aug 8 13:17:46 CEST 2008


> Yes. You didn't paste the traceback into your message.
>
> >>> import re
> >>> vowel = r'[aeiou]'
> >>> re.findall(vowel, r"vowel")
>
> ['o', 'e']
>
> It works as expected here.
>
> Peter

When I key this input in IDLE it works but when I try to run the
module it wont work.



More information about the Python-list mailing list