I am new to python programming. I have recently started my work on Python. To begin with, I am working on Regular expression. I am using aptana 3 studio, windows 7.
- Code: Select all
I get a negative result. I am unable to understand it.
However, if I use t as '[^a-z]$' or t as '^[a-z$]', I get result as expected.
Can someone please explain, where am I going wrong? Any shall be of greatly appreciated.