someone please tell me why i'm getting this output? specially the 'e3%' ! ! ! >>> import re >>> re.findall('([\w]+.)','abdd.e3\45 dret.8dj st.jk') ['abdd.', 'e3%', 'dret.', '8dj ', 'st.', 'jk']
I am getting the same output for the following too.. >>> re.findall(r'([\w]+.)','abdd.e3\45 dret.8dj st.jk') ['abdd.', 'e3%', 'dret.', '8dj ', 'st.', 'jk'] wasn't i supposed to get ['abdd.','dret.'] ?? python version: 2.6.5 os: windows
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor