# search
import re

p = re.compile('[a-z]+')

m = p.search('python')

print(m) # <_sre.SRE_Match object; span=(0, 6), match='python'>

m = p.search('3 python')

print(m) # <_sre.SRE_Match object; span=(2, 8), match='python'>

ff3e9f2db486561e940aef581ad699b8151ca175
<mask token>

<mask token>
print(m)
<mask token>
print(m)

<mask token>
p = re.compile('[a-z]+')
m = p.search('python')
print(m)
m = p.search('3 python')
print(m)

import re
p = re.compile('[a-z]+')
m = p.search('python')
print(m)
m = p.search('3 python')
print(m)

# search
import re

p = re.compile('[a-z]+')

m = p.search('python')

print(m) # <_sre.SRE_Match object; span=(0, 6), match='python'>

m = p.search('3 python')

print(m) # <_sre.SRE_Match object; span=(2, 8), match='python'>
