import re


text = "Computer Science is no more about computers " + \
       "than astronomy is about telescope"

m = re.match(r".* (\w+?) is (\w+?) .*", text)
print(m.group(0) + "|" + m.group(1) + "|" + m.group(2))
print(m[0] + "|" + m[1] + "|" + m[2])

c07a8fd040487cb2a333731cf41bb73b9f4610fa
<mask token>

<mask token>
print(m.group(0) + '|' + m.group(1) + '|' + m.group(2))
print(m[0] + '|' + m[1] + '|' + m[2])

<mask token>
text = ('Computer Science is no more about computers ' +
    'than astronomy is about telescope')
m = re.match('.* (\\w+?) is (\\w+?) .*', text)
print(m.group(0) + '|' + m.group(1) + '|' + m.group(2))
print(m[0] + '|' + m[1] + '|' + m[2])

import re
text = ('Computer Science is no more about computers ' +
    'than astronomy is about telescope')
m = re.match('.* (\\w+?) is (\\w+?) .*', text)
print(m.group(0) + '|' + m.group(1) + '|' + m.group(2))
print(m[0] + '|' + m[1] + '|' + m[2])

import re


text = "Computer Science is no more about computers " + \
       "than astronomy is about telescope"

m = re.match(r".* (\w+?) is (\w+?) .*", text)
print(m.group(0) + "|" + m.group(1) + "|" + m.group(2))
print(m[0] + "|" + m[1] + "|" + m[2])
