I am having problem in re module of python.
when i do a call of match function it returns true if first of the expression is true.
For Eg :- Expression like ([a-z]+([+][a-z])*) to denote
(a-z)^* + (a-z)^* returns true for ab+ and ab+12
What is the correct method to match exact expression in re module of python ??
That is above 123 should not be accepted but it still is.........
Thanxx a lot !!
when i do a call of match function it returns true if first of the expression is true.
For Eg :- Expression like ([a-z]+([+][a-z])*) to denote
(a-z)^* + (a-z)^* returns true for ab+ and ab+12
What is the correct method to match exact expression in re module of python ??
That is above 123 should not be accepted but it still is.........
Thanxx a lot !!
Comment