Apr-27-2020, 10:22 AM
[0-9]
Matches one digit from zero to ninere.search(r'[0-9]','$100')
Searches for a digit in string '$100'
match='1'
First digit matched is onespan=(1, 2)
Matched digit start at position one. $ is at position zero
Here what is the meaning of span=(1,2) ,match='1'?
|
|
Messages In This Thread |
Here what is the meaning of span=(1,2) ,match='1'? - by srisrinu - Apr-27-2020, 09:48 AM
RE: Here what is the meaning of span=(1,2) ,match='1'? - by anbu23 - Apr-27-2020, 10:22 AM
|