Atul. wrote: > >> 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.
What's the name of your script? What happens when you run it? Does it print a traceback? If so, what does it say? Please cut and paste, don't paraphrase. Peter -- http://mail.python.org/mailman/listinfo/python-list